how to change the marker style of qq plot? If i do it in the same way as that of line plot then it shows error as too many input arguments.

24 ビュー (過去 30 日間)
how to change the marker style of qq plot? If i do it in the same way as that of line plot then it shows error as too many input arguments.

採用された回答

Dyuman Joshi
Dyuman Joshi 2023 年 11 月 30 日
Get the handle of the plot, and make changes accordingly.
The first handle corresponds to the data points with the default '+' markers. Reference - https://in.mathworks.com/help/stats/qqplot.html#bu1z_on-3
%Data set
load gas
figure
%Get the handle
h = qqplot(price1);
%Change marker
h(1).Marker = '*';
%Change marker edge color
h(1).MarkerEdgeColor = [0 1 0];

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by