help-octave
[Top][All Lists]
Advanced

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

Re: Cannot change gridlinestyle from solid gray. Tried 30+ Octave help w


From: rmt1
Subject: Re: Cannot change gridlinestyle from solid gray. Tried 30+ Octave help webpages.
Date: Fri, 23 Aug 2013 19:15:45 -0700 (PDT)

Here is the input and output hopefully illustrating the issue (line width I
can change, line color and line style I cannot):

core=0.2;increment=0.01;
load XYZ;x=XYZ(:,1);y=XYZ(:,2);z=XYZ(:,3);
[X,Y]=meshgrid(-core:increment:core,-core:increment:core);
Z=griddata(x,y,z,X,Y);
[C,h]=contourf(X,Y,Z,60);
axis([-core,core,-core,core],"square");
grid on;
set(get(gcf,'children'),'gridlinestyle','-.')
set(get(gcf,'children'), 'linewidth', 5)
set(get(gcf,'children'),'xcolor',[0 1 0])
set(get(gcf,'children'),'ycolor',[0 0 1])

<http://octave.1599824.n4.nabble.com/file/n4656790/problem.jpg> 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Cannot-change-gridlinestyle-from-solid-gray-Tried-30-Octave-help-webpages-tp4656789p4656790.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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