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

Home » Public Forums » archive » Re: Irregular Tick Spacing and Values in an iPlot
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: Irregular Tick Spacing and Values in an iPlot [message #58097 is a reply to message #58094] Tue, 15 January 2008 10:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jeffnettles4870@gmail.com writes:

> Has anyone tried to do an iPlot with irregular tick spacing and
> values? I can do this with a regular PLOT command as in David's tip:
>
> http://www.dfanning.com/tips/irregular_tick_spacing.html
>
> but I'd like to do this in an iPlot. I'm probably doing something
> wrong, but i tried setting the xtickvalues keyword in the iPlot
> procedure, but that seems to just label the ticks using arbitray
> numbers, and i need to space them arbitrarily. Xtickinterval only
> accepts scalar values, so that's not a help I don't think.

This looks like a bug to me. The iPlot documentation indicates
you ought to be able to pass along XTICKVALUES, for example,
but in fact the iPlot program does nothing with them.

The reason I think this is a bug, is that I have no problem
creating irregular tick spacing and labeling in my XPLOT
program, which is an object graphics program. I simply
create the axis like this:

xAxis1 = Obj_New("IDLgrAxis", 0, Color=[255,255,0], Ticklen=0.025, $
Minor=4, Range=[0,10], Title=xtitle, $
TickValues=[0.0,0.8,1.5,2.0,3.5,4.3,5.8,6.5,7.2,8.8,10.0], $
Location=[1000, position[1] ,0], Exact=exact[0])

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Irregular Tick Spacing and Values in an iPlot
Next Topic: Re: plot tangentail vector

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

Current Time: Sat Oct 11 02:41:32 PDT 2025

Total time taken to generate the page: 1.51316 seconds