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

1 次查看(过去 30 天)
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 个评论
Dyuman Joshi
Dyuman Joshi 2024-1-6
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by