Plot data in matlab
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question
9 Comments
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Accepted Answer
1 vote
Share a link to this answer

39 Comments
Share a link to this comment
Share a link to this comment

Share a link to this comment

Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment



Share a link to this comment

Share a link to this comment

Share a link to this comment
- Why do we have xlim([0 3]) ylim([0 2]) in the plot? Wont it limit if the value exceeds 2? Which is not what we want, it should even show up when we do have values exceeding 2
- If there just 1 day's data it still shows day2 for some reason on the x axis. Though it does not have any data for day2 but the ticker is still there. Can that be removed?
- Is this plot scalable in case there are more no of days data in future?
Share a link to this comment
- The plot was being squashed, so I increased the ylim values, since I wanted to see how it looked. That can be changed or completely eliminated (although it might be best to keep it so that the highest value plotted does not plot on the highest value of ylim). I also reduced the marker size.
- If there is only one day’s data, that should be reflected in the ‘Data’ table. All the information for the first scatter plot derives from that table. The same applies to the other plots with the data that created them.
- All the plots should be completely scalable. They derive from whatever data you give them.
Share a link to this comment

Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment

Share a link to this comment
Share a link to this comment
Share a link to this comment
Share a link to this comment

More Answers (1)
0 votes
Share a link to this answer
2 Comments
Share a link to this comment
Share a link to this comment
- How many figures do you want? I'm assuming one figure with multiple axes on it.
- How many "axes" do you want on each figure? 2? 4?
- In each of the axes, how many data curves do you want plotted? Like (say) one curve in the top axes, 3 curves in the second axes, and two curves in the third axes, or whatever you want.
- Then specify what data is to be plotted in what axes.
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Tags
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)