How can I increase the size of data points in a discrete plot?

S
Sophia · Sep 11, 2020 · 2.2K views
Question
I have a figure, created by someone else, to which I need to add one extra set of discrete data points. The added data points, however, are miniscule compared to the ones from the imported .fig file. The code used is:   if true fig = open('myFig.fig'); hold on plot(xdata,ydata,'xg'); end
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 12, 2026

Try the property MarkerSize.

if true
fig = open('myFig.fig');
hold on
plot(xdata,ydata,'xg','MarkerSize',16);
end
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!