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

Home » Public Forums » archive » Attempt to call undefined method: 'IDLITSYMBOL::IS3D'
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: Attempt to call undefined method: 'IDLITSYMBOL::IS3D' [message #82464 is a reply to message #82400] Fri, 14 December 2012 08:54 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Thursday, December 13, 2012 7:23:33 AM UTC-7, Paul van Delst wrote:
>
> Re: the tickmark issue:
>
>
>
> In FG when I use [XY]ticklen = 1.0 and [XY]gridstyle=1 *all* the
>
> tickmarks are gridded, both major and minor. Try:
>
>
>
> IDL> p=plot(/test,layout=[1,3,1],$ &
>
> IDL> yticklen=1.0,ygridstyle=1,$ &
>
> IDL> xticklen=1.0,xgridstyle=1)
>
>
>
> My result:
>
> http://ftp.emc.ncep.noaa.gov/jcsda/CRTM/.plots/all_ticks_gri dded.png
>
>
>
> In DG only the major tickmarks were affected -- which is how the
>
> documentation describes the behaviour for both FG and DG.
>
>
>
> As you can imagine, having all the tickmarks gridded makes for a rather
>
> busy plot.
>
>
>
> Upon further reading of the docs I saw the [XY]subticklen keyword. I
>
> gave that a try, setting it to 0.05. But the minor tickmarks are *still*
>
> subject to the [XY]gridstyle keyword (I tend to use [XY]gridstyle=1,
>
> dotted, for this).
>
>
>
> Try:
>
> IDL> p=plot(/test,layout=[1,3,1],$ &
>
> IDL> yticklen=1.0,ygridstyle=1,ysubticklen=0.05,$ &
>
> IDL> xticklen=1.0,xgridstyle=1,xsubticklen=0.05)
>
>
>
> My result:
>
> ftp://ftp.emc.ncep.noaa.gov/jcsda/CRTM/.plots/using_subtickl en.png
>
>
>
> So, as you can see, what I have are uneven length minor tickmarks. And
>
> they are still dotted due the gridstyle keyword.
>
>
>
> What I want is the equivalent of the following DG:
>
> IDL> !p,multi=[0,1,3]
>
> IDL> plot, lindgen(100),$ &
>
> IDL> yticklen=1.0,ygridstyle=1,$ &
>
> IDL> xticklen=1.0,xgridstyle=1
>
>
>
> (Actually, even there I would like the x- and y minor tickmarks to be
>
> the same *absolute*, not relative, length. But, that's a quibble.)
>
>
>
> The FG documentation clearly states that [XY]ticklen = 1.0 is for the
>
> *major* tickmarks only - so that behaviour is a definite bug.
>
>
>
> The [XY]gridstyle docs do not explicitly state that only the major ticks
>
> are affected, but that was the behaviour with DG so I expect that to be
>
> the behaviour for FG.
>
>
>
> You might want to consider adding some examples with these keywords set
>
> to the "Plot Examples" section of the docs. Maybe I am doing something
>
> wrong in FG-space, but after reading the docs I have nothing but my
>
> DG-experience to go by.
>
>
>
> cheers,
>
>
>
> paulv
>

Hi Paul,

I'll log this tick behavior as a bug. For a temporary (but not really convenient) fix, try using CURRENT to overlay a second plot with the same data ranges:

q1 = plot(/test,$
yticklen=1.0, ygridstyle=1, ysubticklen=0.0, $
xticklen=1.0, xgridstyle=1, xsubticklen=0.0)
q2 = plot(/test, /nodata, /current)

Also, whenever you encounter a bug, please send it to Tech Support (support at exelisvis dot com); it's the best way to get this info to us.

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Select values from one array that match multiple values from an other array
Next Topic: IDL rectangular sparse matrices

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

Current Time: Sat Oct 11 09:05:17 PDT 2025

Total time taken to generate the page: 0.31936 seconds