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 #82481 is a reply to message #82400] Thu, 13 December 2012 06:23 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hi Chris,

Re: IDLITSYMBOL::IS3D error - I will try and come up with a small
reproducible case.


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


On 12/12/12 22:14, Chris Torrence wrote:
> Hi Paul,
>
> This sounds like a bug to me. I'll try to reproduce it, but if you
> could come up with a simple reproduce case, that would be very
> helpful.
>
> By the way, you said that the "ticklen/gridstyle is hopelessly busted
> in v8.2". What's wrong with it? If there is a bug, I'd like to fix
> that before IDL 8.2.2.
>
> Thanks!
>
> -Chris ExelisVIS
[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: Fri Oct 10 17:30:13 PDT 2025

Total time taken to generate the page: 0.31796 seconds