Hi, Ryan,

On May 17, 2010, at 20:04 , Ryan Hamilton wrote:

> So just to be clear, there's no way to control (or even override)  
> the exact placement of the major ticks when plotting in log space?   
> You get them every decade, no matter what?

Based on a quick scan of the code, I would say that you're right.  I  
think the underlying axis code expects the major ticks to be linearly  
spaced.  For logarithmic axes, I think it forces the major ticks to  
be one decade (regardless of what you give for xtick/ytick) which  
forces linearly spacing, while minor ticks are always at  
2,3,4,5,6,7,8,9 times the value of major tick.  As you've discovered,  
forcing major ticks to be one decade doesn't work well for log plots  
that cover less than one decade (or even less than two decades).

> I can just manually label each tick using plmtex and go from there  
> I suppose, which at this point is probably a simpler solution for  
> what I'm trying to do here.

I think you are suggesting manually labeling the minor ticks that  
plbox provides.  That would work for the otherwise unlabeled minor  
ticks, but if you really want to match the look of the plot you  
referenced, you will also need to draw the sub-minor ticks (e.g. 2.1,  
2.2, 2.3, etc.) yourself.  I'm not sure the best way to do that, but  
creative use of plerrx/plerry might work OK.

Dave


------------------------------------------------------------------------------

_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to