3 questions regarding function migration from 2.1.73 to 3.0.3

Przemysław Hołubowski przemhb at wp.pl
Fri Mar 13 06:21:30 CDT 2009


Hi!

I'm preparing my function that used to worked with Octave 2.1.73 to work 
with 3.0.3 and so I have three questions:

My function used postscript terminal,

__gnuplot_set__ term post enh color colortext solid butt "Helvetica" 10;
__gnuplot_set__ output 'results.ps';

but now as __gnuplot_set__ became obsolete and on the other hand print() 
function can be used for saving plots I'm trying not to use __gnuplot_set__.

1. How to substitute "__gnuplot_set__ size 1,0.35;" ? I use it to 
control vertical size of a subplot.

2. How can I make multiline title in printed plot?  I used to do the way:
title(strcat('{/Helvetica=12 {/bold Original and unwrapped output signal 
for AZIMUTH}}\n',txtf)),
but now "\n" does not work.

3. Can I add timestamp to prints without using:
__gnuplot_set__ timestamp "{/Helvetica=8 Generated by StatGen 1.0RC8 for 
Octave on %d.%m.%y %H:%M}" screen bottom 0,-20; ?
--
best regards,
przemysław hołubowski.


More information about the Help-octave mailing list