From help-request at octave dot org Thu Feb 3 21:57:36 2005 Subject: Use of the Octave-Forge print routine on a Mac From: Joe Koski To: Octave Help Date: Thu, 03 Feb 2005 21:02:20 -0700 I decided to try to move into the 21st century and try to replace a few of my old replot commands with the Octave-Forge print command. In trying to get print to work, I read the help file, and the on-line help files, but still no luck. My questions: 1) Does print work on a Mac with octave-2.1.64, gnd gnuplot-4.0? I assume that since I'm setting the output to -depsc, AquaTerm 1.0 would not be involved. 2) I have tried many different syntaxes to try to coax print to work: print test_out.eps -FTimes-Roman -depsc print("test_out.eps","-FTimes-Roman","-depsc") all the way to print("file_plot.eps","'-FTimes-Roman'","'-depsc'") At least the last one fails on an if statement deep within the print routine*. What is the proper syntax? 3) I assume that print works as an improved "replot" routine. Is this a correct assumption? If not, how should it be used? Thanks for any suggestions. Joe *Actual error message: error: print: no format specified error: evaluating if command near line 193, column 5 error: evaluating if command near line 191, column 3 error: called from `print' in file `/usr/local/share/octave/2.1.64/site/m/octave-forge/plot/print.m' error: called from `run_recess_spline' in file `/Users/jakoski/Codes/Recession Rate Calculations/run_recess_spline.m' ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------