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 #36992 is a reply to message #36991] Fri, 07 November 2003 19:11 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
>
> Perhaps a shift in the y direction would be appropriate. :)
>
> y1 = Smooth( Randomu(-5L, 101), 10, /Edge_Truncate)
> y2 = y1 + Smooth( Randomu(-5L, 101), 10, /Edge_Truncate)/4
> x = Indgen(10)
> Plot, x, y1,yr=[min(y1) < min(y2),max(y1) > max(y2)]
> OPlot, x, y2

duh... i mean.. with the shift in the oplot ...... duh...
yshift = 1
OPlot, x, y2+yshift


> Cheers,
> bob
>
>
>
[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: Wed Oct 08 20:15:03 PDT 2025

Total time taken to generate the page: 0.39704 seconds