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

Home » Public Forums » archive » Re: axis problem
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: axis problem [message #35780 is a reply to message #35779] Sun, 20 July 2003 00:52 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:

> Reimar Bauer writes:
>
>> 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)
>
> I don't thing this is a bug. The documentation describes
> the MINOR keyword as the number of minor tick *intervals*,
> not tick marks. I wouldn't expect any visual difference between
> an axis with 0 minor tick intervals and 1 minor tick interval
> between major tick marks. They should look exactly the same,
> as they do in this example.
>
> Cheers,
>
> David
>

But if I don't use _extra it looks different.

I should have submitted this example too. Then xminor=0 looks different.

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

axis,xaxis=0,xticks=4,xminor=0,color=2
axis,xaxis=1,xticks=4,xminor=1,color=2

axis,yaxis=0,yticks=4,yminor=0,color=2
axis,yaxis=1,yticks=4,yminor=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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Thank you all for helps,
Next Topic: Leading zeros in Format

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

Current Time: Sat Oct 11 15:41:15 PDT 2025

Total time taken to generate the page: 0.15850 seconds