Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Cannot figure out what I am doing wrong here.

1 Ansicht (letzte 30 Tage)
Mohammed syed
Mohammed syed am 13 Okt. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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);

Antworten (1)

Steven Lord
Steven Lord am 13 Okt. 2020
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