From help-request at octave dot org Thu Jan 12 22:52:28 2006 Subject: Re: subplot From: "Dmitri A. Sergatskov" To: wang Juefu Cc: help at octave dot org Date: Thu, 12 Jan 2006 21:50:10 -0700 On 1/12/06, wang Juefu wrote: > Hi there, > > Does any one know how to include imagesc in subplot as > Matlab? > > In matlab, it is easy to combine image and graphs in > subplots. For example > > data=rand(100,100); > > x=0:0.1:pi*2; > > subplot(1,2,1); imagesc(data); > subplot(1,2,2); plot(sin(x)); > > This will plot two figures together. > > However, the above will not work in Octave. > Historically, gnuplot could not handle images (it has changed just recently). As a result octave had to use different program to display them. So, no, currently you cannot combine images and plots in octave easily. You may want to look at http://www.epstk.de/ for similar capabilities. Sincerely, Dmitri. -- ------------------------------------------------------------- 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 -------------------------------------------------------------