comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Plot according to slopes?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plot according to slopes? [message #60201 is a reply to message #60200] Mon, 05 May 2008 07:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot according to slopes?
Next Topic: System Variable question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:39:17 PDT 2025

Total time taken to generate the page: 0.80237 seconds