Hi Matlab experts,
I have a plot of left Y_axis vs X_axis and I have another data set which I want to put on right Y_axis.This data is for corresponding left Y_axis value.So, I want to hold the Y_axis vs X_axis plot and then create a right Y_axis and do the scatter(left Y_axis, right Y_axis).
Is there any way to do this ?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 11 月 28 日
編集済み: madhan ravi 2018 年 11 月 28 日

0 投票

yyaxis left %example
plot(X_axis,Y_axis)
yyaxis right
scatter(left_Y_axis,right_Y_axis)

カテゴリ

タグ

質問済み:

2018 年 11 月 28 日

編集済み:

2018 年 11 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by