Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Cannot figure out what I am doing wrong here.

1 回表示 (過去 30 日間)
Mohammed syed
Mohammed syed 2020 年 10 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
G = 39965.94;
phi = 0.5;
F_mu = phi.*G;
F_mu11 = B.*F_mu;
F_mu12 = (1-B).*F_mu;
plot(F_mu11,F_mu12);

回答 (1 件)

Steven Lord
Steven Lord 2020 年 10 月 13 日
That plots one point but by default the line created by plot includes no Marker.
axis([0 1 0 1])
hold on
h = plot(0.25, 0.25); % no line shown, no marker
h.Marker % 'none'
You can specify a Marker when you create the plot.
h2 = plot(0.75, 0.75, 'o'); % One circle marker shown
Or if you have a handle to the line that was created by plot you can change its properties.
h.Marker = 's'; % now one circle marker and one square marker shown

Community Treasure Hunt

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

Start Hunting!

Translated by