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

Home » Public Forums » archive » Re: Ps_start and Ps_end
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: Ps_start and Ps_end [message #75163 is a reply to message #75162] Fri, 18 February 2011 11:30 Go to previous messageGo to previous message
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
On Feb 18, 11:15 am, David Fanning <n...@idlcoyote.com> wrote:
> OK, I suspect this is the problem then. PS_END, which
> will create the PNG file from the PostScript file, relies
> on information created in PS_Start. Like, for example,
> the size of the output. So, if you are circumventing
> PS_Start to create your own sizes, PS_End won't know
> about it.
>
> If you want to use PS_Start, just set your sizes with it:
>
>    PS_Start, /NoMatch, XSIZE=5, YSIZE=5, /Inches, FILE='test.ps'

I think I undesrtand better now.
I tried as you suggest and also with some changes in xsize to make the
things written on the right appear in the png file but without success
(still appear on ps file)

PS_start,filename='Lidar Ozone anomalies and fit.ps',/
nomatch,charsize=0.6,xsize=5, ysize=5, /Inches
plot,time,Zproxy,/nodata,xstyle=1,xrange=[anneedeb,
2011],ystyle=1,yrange=[15,50],title='Lidar Ozone anomalies (black) and
regression fit (red)',$
ytitle='Altitude (km)',xticks=n_elements(annee),xtickn=[annee,
2011]
xyouts, 2011.5, 48,'R!E2'
for k=0,n_elements(Zproxy)-1,5 do begin
oplot,time,[Zproxy(k),Zproxy(k)],linestyle=1
oplot,time,2*Ti(*,k)+Zproxy(k),color=FSC_COLOR('black')
oplot,time,2*mco_T(*,k)+Zproxy(k),color=FSC_COLOR('red')
xyouts, 2011, Zproxy(k),R2str(k)
endfor
xyouts, 1996, 13,'(0.5 ppmv scaled to 1km)'
xyouts, 2002.6, 13,'Year'
PS_end,/png


> Then, don't mess around changing anything. :-)

I try with all my strenght but sometimes my brain don't want to
hear :-)

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ps_start and Ps_end
Next Topic: cgtext and resizeable graphics window

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

Current Time: Thu Oct 09 20:25:12 PDT 2025

Total time taken to generate the page: 0.48148 seconds