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

Home » Public Forums » archive » -0.0
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
-0.0 [message #74557] Thu, 20 January 2011 10:40
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
Hi there,

I am trying to make a plot with xaxis from -0.6 to 0.6. On the xaxis
it gaves me a -0.0 ? I tried xtickformat='(F4.1)' and '(F0.1)' but no
success...

pcit= -.6+indgen(13)*.1

!p.font=0 ;use postscript fonts
set_plot, 'ps'
ext='.eps'
cs=0 ;charcter size
!p.thick=3 ;data
!x.thick=2 ;x axis
!y.thick=2 ;y axis
device, filename='Response Solar Cycle - Annual Mean'+ext,
encapsulated=eps, $
/helvetica,/isolatin1, xsize=8, ysize=12,font_size=8, landscape=0,
decomposed=0, color=1
plot,pcit,Zproxy,/nodata,ystyle=1,yrange=[15,50],xtickformat ='(F4.1)'
oplot,Solarcoef*100,Zproxy,color=0,linestyle=0
oplot,(Solarcoef+Solarstd)*100,Zproxy,color=204,linestyle=1
oplot,(Solarcoef-Solarstd)*100,Zproxy,color=204,linestyle=1
oplot,limiteY,Zproxy,color=0,linestyle=2
for z=0,n_elements(Zproxy)-1 do begin
oplot,[(Solarcoef(z)-Solarvar(z))*100,(Solarcoef(z)
+Solarvar(z))*100],[Zproxy(z),Zproxy(z)],color=226,linestyle =0
endfor
oplot,[-.500,-.400],[48,48],color=0,linestyle=0
xyouts,-.350,48,'Mean'
oplot,[-.500,-.400],[47,47],color=204,linestyle=1
xyouts,-.350,47,'Std'
oplot,[-.500,-.400],[46,46],color=226,linestyle=0
xyouts,-.350,46,'Error'
device,/close

Do you have an idea ?

Cheers
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Resizeable Graphics Windows for Traditional Commands
Next Topic: Blanking all 5x5 windows with less than X 'on' pixels in them

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

Current Time: Wed Oct 08 13:51:24 PDT 2025

Total time taken to generate the page: 0.00431 seconds