mesh plot does not display title
Ben Abbott
bpabbott at mac.com
Thu Apr 2 03:52:55 CDT 2009
On Apr 2, 2009, at 1:11 AM, Michael D. Godfrey wrote:
> The attached script demonstrates a problem with
> mesh(x,y,z):
>
> The plot title is not displayed in the gnuplot window.
> The .eps output from print() shows the title text.
> The gnuplot is 4.2. patch level 3. Octave is at
> the current development level
>
> n=100;
> base=0.2;
> x = y = linspace (-base, base, n)';
> [xx, yy] = meshgrid (x, y);
> r = sqrt (xx .^ 2 + yy .^ 2);
> z = -1./r;
> axis([-base, base, -base, base, 0, -80])
> mesh (x, y, z);
> xlabel("x");
> ylabel("y");
> zlabel("z");
> title("Conic Figure: z = -1/sqrt(x^2 + y^2)");
opps ... try this one instead. The last attachment has an extra space
appended to the file name.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-title.patch
Type: application/octet-stream
Size: 1226 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090402/b17a9da1/attachment.obj
-------------- next part --------------
More information about the Bug-octave
mailing list