manually drawing a graph

3 次查看(过去 30 天)
ramya raj
ramya raj 2011-9-17
hai
i am having some values like this for y co ordinate
-2.2007e+05,
-4.8102e+04,
-2.8786e+04,
-4.3840e+03,
2.3851e+03,
6.7850e+03,
-6.3156e+03,
2.6603e+04,
1.7418e+04,
3.5250e+04,
28228e+04
2.3546e+04,
2.4227e+04,
1.2396e+04,
-1.1482e+04,
-2.2116e+04,
-145.9049,
-1.0527e+04,
-5.3686e+03,
-2.0178e+05 0 0 0 0
and 0 100 200 300 400 500 600 700 for x co 0rdinate
and i have used plot to plot the graph but i can't get the graph i want and also tell me how to insert figures in the question
  3 个评论
ramya raj
ramya raj 2011-9-17
actually for x i have used 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 200 300 400 500 600 700 and i used the command plot(x,y)
ramya raj
ramya raj 2011-9-17
http://billauer.co.il/non-html/matlab_image.gif

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-9-17
You appear to have 24 y values but only 8 x values. What would you like the graph to look like?
  2 个评论
ramya raj
ramya raj 2011-9-17
for x i have used the value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 200 300 400 500 600 700 and i want a graph that goes up and down with one or two or more peaks at the maximum values put i am not getting a graph like that that i have used the curve fitting tool but i don't get the answer
ramya raj
ramya raj 2011-9-17
http://billauer.co.il/non-html/matlab_image.gif

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by