I 2-D plot of y with specific x
2 ビュー (過去 30 日間)
古いコメントを表示
Hi trying to pot PSNR values at specific exposur time psnr_val=[22 24 29 32 33] exp_t =[0.01 0.1 1 10 100]
0 件のコメント
採用された回答
Star Strider
2018 年 8 月 11 日
I am guessing here as to what you want.
Try this:
psnr_val=[22 24 29 32 33];
exp_t =[0.01 0.1 1 10 100];
figure
semilogx(exp_t, psnr_val)
grid
xlabel('exp\_t')
ylabel('psnr\_val')
Use plot instead of semilogx if you want a linear x-scale.
3 件のコメント
Star Strider
2018 年 8 月 11 日
As always, my pleasure.
If your x values are not logarithmic, use either plot or semilogx, depending on the result you want.
Please feel free to experiment.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!