How to plot diffterent x and y values in same graph???

1 view (last 30 days)
How to plot diffterent x and y values in same graph??? Suppose I have X1=Some data; Y1=Some data, X2=some dat, Y2=some data but X2 is not same with X1, Then how to plot them together in single plot???

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 5 Apr 2013
plotyy(x1,y1,x2,y2)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!