help-octave
[Top][All Lists]
Advanced

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

Re: subplot titles and labels overlap


From: Philip Hahn
Subject: Re: subplot titles and labels overlap
Date: Wed, 21 Sep 2011 20:00:55 -0500

Ben:

octave:1> available_graphics_toolkits
ans =
{
  [1,1] = gnuplot
}
octave:2> demo plotyy 1
plotyy example 1:
 clf
 x = 0:0.1:2*pi;
 y1 = sin (x);
 y2 = exp (x - 1);
 ax = plotyy (x, y1, x - 1, y2, @plot, @semilogy);
 xlabel ("X");
 ylabel (ax(1), "Axis 1");
 ylabel (ax(2), "Axis 2");
 axes (ax(1))
 text (0.5, 0.5, "Left Axis", ...
       "color", [0 0 1], "horizontalalignment", "center")
 axes (ax(2))
 text (4.5, 80, "Right Axis", ...
       "color", [0 0.5 0], "horizontalalignment", "center")

octave:3> title('\tau')
octave:4> get(gcf, "__graphics_toolkit__")
ans = gnuplot
octave:5>


See attached plot.

philip

Attachment: plot.jpg
Description: JPEG image


reply via email to

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