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

Home » Public Forums » archive » Re: slightly shifted plots (?)
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: slightly shifted plots (?) [message #37005 is a reply to message #37003] Fri, 07 November 2003 07:01 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Antonio writes:

> I was wondering whether there would be any routine that enable to
> slightly shift two almost identical functions so that they do not
> overlap in the same plot.

How about something like this:

y = Smooth( Randomu(-5L, 101), 10, /Edge_Truncate)
x = Indgen(10
Plot, x, y
OPlot, x+1, y

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to write in HDF-EOS format?
Next Topic: Re: Is it possible to change the title of a WIDGET_SLIDER?

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

Current Time: Fri Oct 10 08:35:11 PDT 2025

Total time taken to generate the page: 0.71963 seconds