フィルターのクリア

how to scatter datapoint into an existing semilogplot?

5 ビュー (過去 30 日間)
Johannes
Johannes 2018 年 12 月 19 日
回答済み: Johannes 2018 年 12 月 19 日
Hey,
I have got an existing semilogx plot with data from literature. Now i would like to scatter my own measurements into that existing figure. The problem is, that even two semilogx with hold on aren't possible without getting back to normal scaled axes. I need the scatter function to color my datapoints by a third variable. Is there a way to get this two plots in one figure?
Thanks!

採用された回答

Johannes
Johannes 2018 年 12 月 19 日
Ok, I found the answer by myself
hold on
plot(x1,y1,x2,y2);
scatter(x3,y3,[],z3);
set(gca,'xscale','log')
grid on

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by