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

Home » Public Forums » archive » axis problem
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
axis problem [message #35782] Sat, 19 July 2003 10:53
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear all

I am not sure if this is a bug.

If I use axis with _extra xticks=0 the idl automatic is used to draw quite
good major ticks.
But if I use axis with _extra (xticks=4,xminor=0) the major ticks are the
same as the other example but no automatic for minor ticks.
The same result gives axis with _extra (xticks=4,xminor=1)



Here is the example:
It shows no automatic for minor ticks on my linux box.

Reimar

pro test_axis_minor_error
erase
window,0
tek_color
plot,findgen(15),findgen(15),/nodata,xstyle=5,ystyle=5

x_extra_0={ xthick:0.96,$
xrange:[0,14],$
xtitle:'',$
xlog:0,$
xstyle:1,$
charsize :1 ,$
xtickname:strarr(60)+'',$
xticks:4,$
xminor:0,$
xticklen:0.03,$
xgridstyle:0}

x_extra_1={xthick:0.96,$
xrange:[0,14],$
xlog:0,$
xstyle:1,$
charsize :1 ,$
xtickname:STRARR(60)+' ',$
xticks:4 ,$
xminor:0 ,$
xticklen:0.03,$
xgridstyle:0}




y_extra_0={ ythick:0.96,$
yrange:[0,14],$
ytitle:'',$
ylog:0.0,$
ystyle: 1,$
charsize:1,$
ytickname:strarr(60)+'',$
yticks:4,$
yminor:0,$
yticklen:0.03,$
ygridstyle:0}

y_extra_1={ythick:0.96,$
yrange:[0,14],$
ylog:0.00,$
ystyle:1,$
charsize :1 ,$
ytickname:STRARR(60)+' ',$
yticks:4 ,$
yminor:0 ,$
yticklen:0.03,$
ygridstyle:0}

axis,xaxis=0,_extra=x_extra_0,color=2
axis,xaxis=1,_extra=x_extra_1,color=2
axis,yaxis=0,_extra=y_extra_0,color=2
axis,yaxis=1,_extra=y_extra_1,color=2


end



--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to find out the best fitted function ?
Next Topic: Re: Multidimensional Interpolation

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

Current Time: Wed Oct 08 15:49:42 PDT 2025

Total time taken to generate the page: 0.00488 seconds