manually drawing a graph

3 views (last 30 days)
ramya raj
ramya raj on 17 Sep 2011
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 Comments
ramya raj
ramya raj on 17 Sep 2011
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 on 17 Sep 2011
http://billauer.co.il/non-html/matlab_image.gif

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Sep 2011
You appear to have 24 y values but only 8 x values. What would you like the graph to look like?
  2 Comments
ramya raj
ramya raj on 17 Sep 2011
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 on 17 Sep 2011
http://billauer.co.il/non-html/matlab_image.gif

Sign in to comment.

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!