Is it possible to change the style of the plot produced by ODEPLOT function in MATLAB 7.6 (R2008a) ?
3 次查看(过去 30 天)
显示 更早的评论
I would like ODEPLOT to format the plot it produced in a different way. For instance, I would like to get rid of the "o" line markers.
采纳的回答
MathWorks Support Team
2009-6-27
You will need to write your own function that will collect all the handles to the objects that you wish to modify and set the value to a particular property.
For example, the following code removes the marker 'o' from the lines plotted by the ODEPLOT option.
% find all the lines with the Marker to be 'o'
hlines = findall(gca,'type','line','marker','o')
% change the marker type to none or some other shape
set(hlines(:),'marker','none')
You can interactively change the appearance of the plot by turning on PLOTTOOLS once the ODE plot has been created. This can be done by typing the following at the MATLAB command prompt.
plottools
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!