Info

此问题已关闭。 请重新打开它进行编辑或回答。

Cannot figure out what I am doing wrong here.

1 次查看(过去 30 天)
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