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

Home » Public Forums » archive » Re: plotting vertical lines
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: plotting vertical lines [message #83863 is a reply to message #83862] Thu, 11 April 2013 13:19 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
This works for me just fine:

ps_start,'filename.ps'
cgDisplay,3000,900,/free

x = findgen(100)*70 & y = randomu(seed, 100)
cgplot,x,y,title='title',xtitle='xname',ytitle='yname',color ='red',thick=3
cgplots, REPLICATE(6563, 2), !Y.CRANGE,color='black',linestyle=0,thick=0.75
cgplots, REPLICATE(4861, 2), !Y.CRANGE,color='black',linestyle=0,thick=0.75
cgplots, REPLICATE(5876, 2), !Y.CRANGE,color='black',linestyle=1,thick=0.75
cgplots, REPLICATE(5017, 2), !Y.CRANGE,color='black',linestyle=1,thick=0.75

ps_end

I'm using:
IDL> print, !version
{ x86_64 darwin unix Mac OS X 8.2.2 Jan 23 2013 64 64}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CMIP5 model output
Next Topic: Re: CMIP5 model output

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

Current Time: Sun Oct 12 19:02:14 PDT 2025

Total time taken to generate the page: 1.72180 seconds