new miracle of minor ticks [message #55633] |
Wed, 29 August 2007 10:09 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Hi
I am back from my journey. And I have had a similiar experience with
doors as you David had but for the opposite direction. ;)
But lets go to idl. The today most wanted answer is for:
Where are the minor ticks?
Any number of xticks gives no minor xticks.
; xminor
; The number of minor tick mark intervals.
; If set to zero, the default, IDL automatically determines the number
; of minor ticks in each major tick-mark interval.
; Setting this parameter to 1 suppresses the minor ticks, and setting it
; to a positive, nonzero number, n, produces
; n minor-tick intervals, and n?1 minor-tick marks.
PRO example_bug
x = findgen(1000)
y1 = sin(x)
extra_axis={xrange:[300.0,840],yrange:[-1.1,1.1]}
plot, x, y1,$
xstyle=1, $
ystyle=1, $
position=[0.235690,0.285714,0.760943,0.802381], $
title=title, $
charsize = 1.18942, $
xtick_get = xtg, $
ytick_get = ytg, $
XTICKS = 2, $
XMINOR = 0, $
XTICKV = xtickv, $
XTICKNAME = xtickname, $
ytype=0, $
_extra=extra_axis
END
cheers
Reimar
|
|
|