From: Joe K. <jko...@co...> - 2005-05-19 16:22:05
|
on 5/19/05 9:50 AM, Michael Creel at mic...@ua... wrote: > Hello all, > I'm trying to use print to create some .eps files. It's no longer working: > > octave:1> plot(rand(3,1)) > octave:2> print("test.eps","-depsc2") > warning: in fopen near line 55, column 3: > warning: fopen: default open mode is now binary > error: plot: can only plot in 2 or 3 dimensions > error: plot: can only plot in 2 or 3 dimensions > error: called from `print' in file > `/usr/share/octave/2.1.69/site/m/octave-forge/plot/print.m' > > I guess that print.m needs some updating, if anyone knows what needs to be > done. > Thanks, M. On my Mac with octave-2.1.69 and octave-forge, I got the error message "can only plot in 2 or 3 dimensions" when I tried to update my print and legend to use the __gnuplot_replot__ routine in order to eliminate the warning messages associated with use of gset, which is now deprecated, but used by the older versions of print and legend. If I use the print and legend that came with the Nov. 2004 octave-forge, I get warning messages, but everything works. Have you tried to update print to use the octave-2.9.x versions of print? Joe |