Filter löschen
Filter löschen

How can I alter the MarkerSize of a plot on MATLAB Onramp?

1 Ansicht (letzte 30 Tage)
CHUN HIN KYLE
CHUN HIN KYLE am 6 Jan. 2024
I was requested to modify the "MarkerSize" of a plot in an exercise on MATLAB Onramp, it was said to access the property inspector through the figure window, and I also tried executing the command inspect on the command window after running the program, but didn't work on Onramp, but on MATLAB 2023a.
  2 Kommentare
Dyuman Joshi
Dyuman Joshi am 6 Jan. 2024
Please share which section and which question you are having the trouble with.
I am unable to find any questions on MATLAB Onramp, R2023a, where the question is to modify the MarkerSize of a plot via accessing the property inspector.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 8 Jan. 2024
The answer is:
hold on
x = lambdaHa;
y = sHa;
plot(x, y, "rs", "MarkerSize", 8)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by