NLed
NLed

Reputation: 1865

How to plot individual points in Matlab at certain locations?

I have the following graph :

enter image description here

Each line changes according to 3 values : 1 2 3 .. However plotting anything less than 5000 will not show on the graph (axis min size is 5000), so I can't plot them directly. How can I show that these lines are changing according to either of these 3 values ?? Any way to implement this ?

Upvotes: 0

Views: 528

Answers (2)

John
John

Reputation: 490

The plotyy function gives two y-axes enabling you to display two sets of data on one graph even though the relative values of the data are different.

For more control you can superimpose two axes objects. See Using Multiple X- and Y-Axes.

Upvotes: 1

fatihk
fatihk

Reputation: 7919

You can add an offset value to the data you can not display properly so that you caan observe the relationship between the lines

Upvotes: 0

Related Questions