Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Cannot figure out what I am doing wrong here.

1 vue (au cours des 30 derniers jours)
Mohammed syed
Mohammed syed le 13 Oct 2020
Clôturé : MATLAB Answer Bot le 20 Août 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);

Réponses (1)

Steven Lord
Steven Lord le 13 Oct 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