help-octave
[Top][All Lists]
Advanced

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

print multiplot/subplot


From: Matt Taylor
Subject: print multiplot/subplot
Date: Wed, 07 Jun 2006 16:09:34 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

I am using version 2.1.73 on Debian Testing.

When I try to print a multiplot, I get the following errors:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
octave:1> subplot_print
octave:2>

gnuplot> set term postscript eps enhanced color solid "Times-Roman" 14 ;
                 ^
        line 0: You can't change the terminal in multiplot mode


gnuplot> set output "subplot_print.eps";
                   ^
        line 0: you can't change the output in multiplot mode


gnuplot> set terminal x11 1;
                     ^
        line 0: You can't change the terminal in multiplot mode


gnuplot> set terminal x11 1;
                     ^
        line 0: You can't change the terminal in multiplot mode


gnuplot> set output;
                  ^
        line 0: you can't change the output in multiplot mode
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Here is my code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% recreate print() problem

clear all;
close all;

t = 0:0.1:10;
x = 2*t;
y = t.^2;

figure(1);

subplot(2,1,1);
plot(t,x,'-r');

subplot(2,1,2);
stem(t,y,'b*');

print("-FTimes-Roman:14", "-solid", "-depsc2", "subplot_print.eps")
oneplot();
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Would this be considered a bug?  If not, is there a way to send
multiplots to a file without using __gnuplot_set__, etc.?

(the following is a work-around)
__gnuplot_set__ terminal postscript eps enhanced color solid
"Times-Roman" 14;
__gnuplot_set__ output 'subplot_print.eps';




reply via email to

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