Is it possible to change the style of the plot produced by ODEPLOT function in MATLAB 7.6 (R2008a) ?

3 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by