vector of line chart objects returned by plot - problem with modifying markers,...
5 vues (au cours des 30 derniers jours)
Here is a snippet of my code:
plot_array = zeros(5,1);
plot_array(p) = loglog(x,y, /*arbitrary markers and legend which I would like to modify after the loop);
legend_array(2,1).Marker = '+';
The last line produces the error message: "Unable to perform assignment because dot indexing is not supported for variables of this type".
I tried to reproduce the example from the loglog documention. The only difference to my code is that (i) I have an array, -> legend_array(2,1), and (ii) I plot only one pair of vectors, that is why I omitted something like (legend_array(2,1))(1).Marker = '+' .
Thanks for helping me!