NCL Home> Application examples> Plot techniques || Data files for examples

Trajectories

traj_1.ncl: A simple trajectory plot. Each trajectory is a different color for clarity, and every fourth time step is marked with a circle. The start of each trajectory is marked with a green circle.
traj_2.ncl: Each portion of the trajectory is now colored by a separate scalar field.

RGBtoCmap will take an external RGB file and create a colormap out of it.

GetFillColor will assign a color based upon an input scalar variable.
traj_3.ncl:This is a unique example of using multiple xy plots overlaid on each other to simulate a 3D environment. The angle of the eye view is calculated using the fortran program particle.f. To change the angle at which the plot is viewed, change the values of angle_x, angle_y, and angle_z in particle.f. It was compiled using WRAPIT.

This technique was developed by Chin-hoh Moeng of MMM.