필터 지우기
필터 지우기

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.

조회 수: 17 (최근 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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by