insert colour
I've created a graph based on the following data below. My attempts to insert color into the file don't seem to be working - I've left a working copy to illustrate the graph, but could I get some pointers on inserting color into this type of graph.
Cheers
Cheers
clear all; numx=10; numy=40; x=zeros(1,numx*numy); y=zeros(1,numx*numy); z=zeros(1,numx*numy); RETG=0.99; nnn=1; for nx=1:numx for ny=1:numy x(nnn)=0.1*(1.0*nx)/(1.0*numx); y(nnn)=1.0*(1.0*ny)/(1.0*numy); z(nnn)=1.0/(1+((1/y(nnn))-1.0)*(x(nnn)/RETG) ); nnn=nnn+1; end end scatter3(x,y,z);
0
Comments
http://www.mathworks.com/help/techdoc/ref/plot.html
*always