[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Controlling Gnuplot from Octave

**From**: |
David Bateman |

**Subject**: |
Re: Controlling Gnuplot from Octave |

**Date**: |
Thu, 14 Jun 2007 01:12:27 +0200 |

**User-agent**: |
Thunderbird 1.5.0.7 (X11/20060921) |

tlhiv wrote:
>* I have noticed that in recent versions of Octave that gset is now gone. How*
>* can I control the aspect ratio of my plot? Could someone tell me the way to*
>* perform this old commands with the new syntax:*
>* *
>* gset size ratio 2/(1+sqrt(5))*
>* *
>* In fact, how would I specify the width/height of an output EPS graphic? In*
>* particular, I want an EPS graphic that is 3 inches wide and as tall as it*
>* needs to be to contain the axis labels, titles, etc. but have the actual box*
>* that contains the plot have a 2/(1+sqrt(5)) aspect ratio.*
>* *
>* Thanks,*
>* *
>* Troy*
>* *
What version of Octave are you using? The graphics are entirely
different for 2.9.9 and earlier and 2.9.10 and later. If you are using
2.9.9 or earlier then replace gset with __gnuplot_set__, Otherwise in
2.9.10 and later, I believe the only control we currently have over the
aspect ratio is axis("square") and family..
D.