minor ticks

David Bateman David.Bateman at motorola.com
Fri Nov 14 04:51:50 CST 2008


tobias.kerzenmacher at aeronomie.be wrote:
> Hello,
> How can I get minor ticks on an axis in my plot? I don't want any gridlines.
> Thank you,
> Tobias
> _______________________________________________
> Help-octave mailing list
> Help-octave at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>   
In Octave 3.0.x you can't, as the axis property for minor ticks isn't 
implemented.. In 3.1.51+ it is implemented in the axis, but the gnuplot 
backend doesn't respect it. The attached patch addresses that. With this 
patch you can do something like

plot(1:10)
set (gca(), "XMinorTick", "on")

Regards
David

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8822
Url: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20081114/635af728/attachment-0001.ksh 


More information about the Help-octave mailing list