how can I prevent dashed line to become continuous line?

4 次查看(过去 30 天)
Hi everyone, I am interested in plotting a dashed line. However, due to the large data points that I have in a plot, some part becomes dashed line and some continuous line. How can I solve this problem?I attached you the plot.

回答(1 个)

Walter Roberson
Walter Roberson 2016-9-5
You would have to filter your data to use fewer points.
For example you might do a spline fit on the data and then interpolate the spline at fewer points.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by