help-octave
[Top][All Lists]
Advanced

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

Re: Contour plots


From: Dmitri A. Sergatskov
Subject: Re: Contour plots
Date: Sun, 06 Mar 2005 13:17:46 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041127)

Henry F. Mollet wrote:
...
See attached for the best I was able to come up with. Of *most concern* is
the jaggedness of the contours as the parameter w/al increases. It does not
appear to be related to the meshgrid.
...

It looks to me that you making a hardcopy of your screen picture with
your screen resolution. Try to make a postscript or pdf figure directly by setting terminal and an output file. Unfortunately one cannot use print() command in multiplot mode.

I modified your script:

gset term post enh color solid "Times" 10
gset out "henry11.ps"
subplot (2,2,4)                                        %  subplot (2,2,4)
gset origin 0.30,-0.07
axis ([0.2,1.2,0,35], "square"); % problems with "normal"
gset label 4 " D)  w/al = 12.0 " at 0.25, 27.5
grid "on"
x=linspace(0,1.2,350);
y=linspace(1,35,350);
[xx,yy]=meshgrid(x,y);
z=xx./(yy.*(1-xx)) -\
(12*yy-yy+1).*xx.^(12*yy-yy+1)./yy./(1-xx.^(12*yy-yy+1)) + eps;
xlabel ("Sa/lambda1")
ylabel ("alpha")
contour (x,y,z)
pause(1)

The attached file is epstopdf conversion of the resulting ps file.
The thing *I* do not understand is why ylabel not rotated.
Otherwise it looks good to me.

Regards,

Dmitri.
--

Attachment: henry11.pdf
Description: Adobe PDF document


reply via email to

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