Re: Trajectory With color Gradient

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue, 15 Apr 2008 10:58:42 -0600

Jonathan ... You are too modest! :-)

A 'slicker' example is one that Jonathan created:

See: http://www.ncl.ucar.edu/Applications/unique.shtml
         Example 1

Jonathan Vigh wrote:
> Hi Santheesan,
> Take a look at the code for example 2 on the trajectory examples
> page (traj_2.ncl). The trick is to draw the trajectory one sement at a
> time while using the GetFillColor function to assign the appropriate
> color based on your scalar value.
>
> http://www.ncl.ucar.edu/Applications/traj.shtml
>
> Regards,
> Jonathan
>
>
>
>
> Satheesan wrote:
>
>> Dear NCL users,
>>
>> I am trying to plot a trajectory over the south pole, where the data
>> is in the format
>> lon, lat, parameter (untraj.dat)
>> I have to plot this trajectory with the parameter in different colors
>> as its value changes (like a contour along the trajectory).
>> I am able to draw the trajectory, but not able to do it with
>> different colors. How do I make it with different colors (i.e I have
>> to change the Red colored line into a line with different colors as
>> the parameter varies and a colorbar). I have attached the files.
>> Can you help me?
>>
>> Thanks & Regards
>>
>> Satheesan
>>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 15 2008 - 10:58:42 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 15 2008 - 19:45:53 MDT