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

Home » Public Forums » archive » Re: plot symbols only in oplot?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: plot symbols only in oplot? [message #50264] Thu, 21 September 2006 08:50
Dilkushi@gmail.com is currently offline  Dilkushi@gmail.com
Messages: 21
Registered: August 2006
Junior Member
Thank you so much Dr. Fanning for the prompt reply
it works
dilkushi

David Fanning wrote:

> Dilkushi@gmail.com writes:
>
>> I need to plot a smooth curve around the user defined plotting
>> symbols..
>> The method I use is
>> plot, DAY, NOAA16,$
>> charsize=2,Yrange=[0,3],Xrange=[Xmin,Xmax], /NODATA
>> oplot, DAY, NOAA16,psym=-8,color=3 ; statement 1
>> T = FINDGEN(96*(Xmax-Xmin))/96.+Xmin
>> Z=SPLINE(DAY,NOAA16,T)
>> oplot, T, Z,linestyle=1,thick=3 ; statement 2
>>
>> I get a line from statement 1 and a line from statement 2
>> I do not need the line from statement 1
>>
>> Sorry to bother you with the small questions..
>
> Remove the minus sign from your PSYM keyword in
> Statement 1.
>
> 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.")
Re: plot symbols only in oplot? [message #50265 is a reply to message #50264] Thu, 21 September 2006 08:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dilkushi@gmail.com writes:

> I need to plot a smooth curve around the user defined plotting
> symbols..
> The method I use is
> plot, DAY, NOAA16,$
> charsize=2,Yrange=[0,3],Xrange=[Xmin,Xmax], /NODATA
> oplot, DAY, NOAA16,psym=-8,color=3 ; statement 1
> T = FINDGEN(96*(Xmax-Xmin))/96.+Xmin
> Z=SPLINE(DAY,NOAA16,T)
> oplot, T, Z,linestyle=1,thick=3 ; statement 2
>
> I get a line from statement 1 and a line from statement 2
> I do not need the line from statement 1
>
> Sorry to bother you with the small questions..

Remove the minus sign from your PSYM keyword in
Statement 1.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: plot symbols only in oplot?
Next Topic: @make vs command line for creating .sav files.

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

Current Time: Wed Oct 08 19:13:22 PDT 2025

Total time taken to generate the page: 0.00600 seconds