[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: plot octave graph by running .m file problem

**From**: |
Manpreet Dhiman |

**Subject**: |
Re: plot octave graph by running .m file problem |

**Date**: |
Tue, 13 Oct 2015 10:51:49 -0700 (PDT) |

Hello
I am facing a another problem during plotting of graph. I have searched for
plotting, But my simple code plot graph. But I want to create graph for
below code. It did not plot any single point on graph. Guide me
function k=value(doverA,aoverA)
up=(1-(aoverA)^2-(2*aoverA*doverA)-(doverA)^2);
down=(aoverA*doverA+(doverA)^2);
k=up/down;
end
%value(0.03,0.5)
for aoverA=0.05:0.05:0.3
for doverA = 0.03:0.01:0.3
k=value(doverA,aoverA)
plot(doverA,aoverA, 'r-')
endfor
endfor
title('Curve Plotting');
xlabel('a/A');
ylablel('d/A');
plot([0; aoverA(:,1)], [0; doverA], '-ro');
hold on
--
View this message in context:
http://octave.1599824.n4.nabble.com/plot-octave-graph-by-running-m-file-problem-tp4672891p4672898.html
Sent from the Octave - General mailing list archive at Nabble.com.

**plot octave graph by running .m file problem**, *Manpreet Dhiman*, `2015/10/13`
**Re: plot octave graph by running .m file problem**, *Carlo de Falco*, `2015/10/15`
**Re: plot octave graph by running .m file problem**,
*Manpreet Dhiman* **<=**
**Re: plot octave graph by running .m file problem**, *Doug Stewart*, `2015/10/13`
**RE: plot octave graph by running .m file problem**, *Allen.Windhorn*, `2015/10/13`
**RE: plot octave graph by running .m file problem**, *Manpreet Dhiman*, `2015/10/14`
**Re: plot octave graph by running .m file problem**, *Doug Stewart*, `2015/10/14`
**Re: plot octave graph by running .m file problem**, *Manpreet Dhiman*, `2015/10/14`
**Re: plot octave graph by running .m file problem**, *Doug Stewart*, `2015/10/14`
**Re: plot octave graph by running .m file problem**, *Manpreet Dhiman*, `2015/10/14`
*Message not available***RE: plot octave graph by running .m file problem**, *Allen.Windhorn*, `2015/10/14`