extra command to gnuplot

David Bateman David.Bateman at motorola.com
Fri Jul 4 04:49:18 CDT 2008


Laurent Mazet wrote:
> Hi,
>
> I'm tried to send "set format y '10^{%L}'" to gnuplot 4.2.2 via octave 3.0.0
> but I did not succeed. I've tried :
> - the old __gnuplot_raw__ command
> - using the gnuplot stream via fprintf (get(gcf).__plot_stream__, ...
> - inside a .gnuplot file in the current dir
> - inside a .gnuplot file in my home dir
>
> but none of them are successful.
>
> Does anyone have a clue on it?
>
> Regards,
>
>      Laurent
>   
The matlab way of doing this is something like

set (gca(), 'ytick', [1, 0.1, 1], 'yticklabelmode', 'manual',
'yticklabel', {'10^{0}', '10^{-1}','10^{-2}'})

Cheers
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



More information about the Help-octave mailing list