help-octave
[Top][All Lists]
Advanced

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

Problem with PostScript output of surface plot


From: David M. Cook
Subject: Problem with PostScript output of surface plot
Date: Wed, 4 May 2016 19:42:36 +0000

4 May 2016

 

Greetings,

 

Executing the script

 

graphics_toolkit(  'gnuplot' )

[x,y] = meshgrid( [0.0:0.02:1.0], [0.0:0.02:1.0] );

z = sin(2.0*pi*x) .* sin(3.0*pi*y);

surf(x,y,z)

colormap( 'gray' )

shading( 'interp' )

 

produces a very satisfactory surface plot of the 2-3 mode of a vibrating square membrane. (I am running on a Windows 7 computer with Version 4.0.0 of OCTAVE.)

 

I have attached the PostScript file created by the statement

 

print  -deps2  trial.eps

 

executed after the above code has been executed.  This display is not quite an accurate transcription of the on-screen display produced by OCTAVE.

 

Have I discovered a bug, a feature, or an oversight on my part of some additional command I should execute?  The on-screen display is correct; the PostScript file is not.

 

Thank you for your help.

 

David Cook

 

David M. Cook                      VOICE:  920-832-6721

Department of Physics     FAX:    920-832-6962

Lawrence University         Email:  address@hidden

711 E Boldt Way, SPC24

Appleton, WI 54911

 

Attachment: trial.eps
Description: trial.eps


reply via email to

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