help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.8.1 print to file problem


From: address@hidden
Subject: Re: Octave 3.8.1 print to file problem
Date: Wed, 27 Jul 2016 06:12:06 +0900 (JST)

--- Sesc
> Michael Auinger wrote
> > ========================== 
> > 
> > clf; 
> > graphics_toolkit('gnuplot'); 
> > colormap('default'); 
> > contourf(sombrero(),'linestyle','none'); 
> > print -djpg -color 'test.jpg'; 
> > 
> > ========================== 
> > [...]
> > Am I forgetting something or is it due to a problem with the graphics card
> > (nVidia, v304.131) / Octave (v3.8.1) / GNUplot (gnuplot4.6 patchlevel 4) /
> > Ubuntu 14.04 (64bit)? 
> > Problem exists for both Qt and GNU version of Octave...
> 
> No, your code is correct. It should give you a file "test.jpg" in the
> current working directory. Maybe there is something wrong with your Octave
> installation. I suggest that you update Octave to a more recent version
> (>=4.0.0). You can get it for Ubuntu for example from here: 
> 
> https://launchpad.net/~octave/+archive/ubuntu/stable
> 
> Sebastian
> 
As  Sebastian wrote, you clear install the recent 
octave by

sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave

Tatsuro



reply via email to

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