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

Home » Public Forums » archive » Equivalent of ytick_get() in function graphics?
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: Equivalent of ytick_get() in function graphics? [message #93087 is a reply to message #93079] Mon, 25 April 2016 12:20 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
6 years? I did not even think function graphics had been around for that long. They are the new thing...


On Friday, April 22, 2016 at 6:39:28 AM UTC-7, wlandsman wrote:
> On Thursday, April 21, 2016 at 2:30:02 PM UTC-4, Paulo Penteado wrote:
>> Hello Wayne,
>>
>> It sounds like you might want the tickname or tickvalues properties of a plot's axis:
>>
>> p = plot(indgen(10),position=[0.1,0.525,0.95,0.95],xtickname=['' ])
>> p = plot(indgen(10)+2,position=[0.1,0.1,0.95,0.525],/current)
>> tn=(p['yaxis']).tickname
>> tn[-1]=''
>> (p['yaxis']).tickname=tn
>
>
> Thanks! This is as easy as one could hope.
>
> (I also didn't know that one could reference ['yaxis']. I had been referencing e.g. ['axis1'] but always forgetting if this was the X or Y axis.)
>
>> I have a workaround for the overlapping labels that I incorporated in my multiplot equivalent for function graphics, which automatically suppresses these overlapping labels. The above is what I used in its setendticks method ( http://ppenteado.net/idl/pp_lib/doc/pp_multiplot__define.htm l)
>
> I am finally getting around to converting all my plotting code to function graphics. It looks like you had figured out many of the tricks for doing this 6 years ago! Thanks again, --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: running script
Next Topic: Plot arrow in IDL

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

Current Time: Wed Oct 08 20:07:09 PDT 2025

Total time taken to generate the page: 0.24211 seconds