Re: Irregular Tick Spacing and Values in an iPlot [message #58094 is a reply to message #58085] |
Tue, 15 January 2008 11:03   |
jeffnettles4870
Messages: 111 Registered: October 2006
|
Senior Member |
|
|
On Jan 15, 1:16 pm, David Fanning <n...@dfanning.com> wrote:
> jeffnettles4...@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.")
*sigh* I was afraid this was a bug....guess I'll report it.
Thanks,
Jeff
|
|
|