Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Plot accord...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 8 Topic 5708 of 5741
Post > Topic >>

Re: Plot according to slopes?

by David Fanning <news@[EMAIL PROTECTED] > May 5, 2008 at 08:00 AM

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.")




 8 Posts in Topic:
Plot according to slopes?
Frank Wang <Muchi0734@  2008-05-05 06:43:55 
Re: Plot according to slopes?
David Fanning <news@[E  2008-05-05 08:00:35 
Re: Plot according to slopes?
Frank Wang <Muchi0734@  2008-05-05 07:46:04 
Re: Plot according to slopes?
David Fanning <news@[E  2008-05-05 09:19:45 
Re: Plot according to slopes?
rigby@[EMAIL PROTECTED]   2008-05-05 07:57:15 
Re: Plot according to slopes?
Frank Wang <Muchi0734@  2008-05-05 08:17:45 
Re: Plot according to slopes?
Frank Wang <Muchi0734@  2008-05-05 09:05:34 
Re: Plot according to slopes?
Frank Wang <Muchi0734@  2008-05-05 09:07:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 5:18:48 CDT 2008.