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

Home » Public Forums » archive » Re: What is going on with the minor ticks on log plots?????
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: What is going on with the minor ticks on log plots????? [message #12581 is a reply to message #12579] Wed, 26 August 1998 00:00 Go to previous messageGo to previous message
Joe[2] is currently offline  Joe[2]
Messages: 11
Registered: May 1998
Junior Member
OK,

Here is a bit of code that does fail (work?) to demonstrate the
problem.

Pro TEST

!p.multi = [0,7,10] & !y.minor = 2
!x.margin = [.5,.5] & !y.margin = [.5,.5]
!y.omargin = [3,3] & !p.ticklen = 0.07
!p.charsize = .7
nulls = replicate("",20) & blanks = replicate(" ",20)

!y.range=[0,60]
!x.title = "" & !x.style = 12 & !y.style = 12
!x.range = [1.e10,1.e13] & !x.ticks = 1 & !x.minor=0
plot,/xtype,[1],/nodata
xyouts,4e10,44,'date = '+strtrim(991212L,2)+' SR',size=.4
xyouts,4e10,38,'hhmmss = '+string(3335,form='(i6.6)'),size=.4
xyouts,4e10,32,'lat = '+string(56.,form='(f6.1)'),size=.4
xyouts,4e10,26,'lon = '+string(92.,form='(f6.1)'),size=.4
xyouts,4e10,20,'beta = '+string(15.,form='(f6.1)'),size=.4
!y.style=1 & !x.style=1
!y.tickname = nulls & !x.tickname = blanks

; Ozone plot
if(!p.multi(0) eq 6) then begin
!x.title = 'O!d3!n (cm!u-3!n)'
!x.tickname = nulls
endif
plot,/xlog,[1],[10],xrange=[1.e10,1.e13],xticks=3
plot,/xlog,[1.e9],[10],xrange=[1.e7,1.e10],xticks=3,yticknam e=blanks
plot,/xlog,[1.e-3],[10],xrange=[1.e-5,1.e-1],xticks=4,ytickn ame=blanks
end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image Object ROI selection
Next Topic: Re: Object method name problem

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

Current Time: Sun Oct 12 09:20:13 PDT 2025

Total time taken to generate the page: 1.36158 seconds