Frank Wang writes:
> I am new with IDL, and recently I was bothered with:
>
> "How to make line plot when you know the slopes(of the lines you are
> going to plot) defined at each grid point"?
>
> Physically, we can draw a short line segment at each grid point, link
> neighboring segments, and then smooth them. But I simply find it too
> tricky to do this with ID(or Matlab). Does anyone have any
> suggestions? I would appreciate your help. Or you can tell me which
> chapter of the IDL manual should I refer to?
I guess if you knew the slopes at each point, you could
calculate UV vector pairs that would describe the slope.
If so, then you could use something like VELOVECT or
PLOT_FIELD to plot them. A lot of people use PARVELVECT
from the NASA Astronomy Library to plot this kind of data,
too.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")


|