help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print.m no longer working


From: Joe Koski
Subject: Re: print.m no longer working
Date: Thu, 19 May 2005 10:21:41 -0600
User-agent: Microsoft-Entourage/11.1.0.040913

on 5/19/05 9:50 AM, Michael Creel at address@hidden 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




-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]