Top 10% contributor
ok, here's the solution: you can tell legend() with which plot handle the legend entry is associated, by:
Answered 1 month ago
Hi Michael, if you only need the xy coordinates there is also the matlab function ginput to achieve this task. http://www.mathw...
11 months ago
set(gca, 'XTick', 1:100:n, 'XTickLabel', dates(1:100:n,:));
because you want a string in your 4th column, you need a cell array. here's my q&d solution:
new = c...
here's the probably dirtiest code I've written so far, but does, what you want:
% make an example plot with several classes...
Answered 8 months ago
title(['my title' var1 var2])
depending on the variable type, you may have to convert to string and add separators like white...
you could add the data set with the black boxes at last and then only define 2 legend entries.
If I had known, how to use the get command properly, I would by then have known, that get(pplab,'Characters',n,1) gives me the h...
if you have data in your chart, that's supposed to be scaled to the secondary y-axis, just move the plot there, here...
Finally, I found a workaround!
Here's an example
str = 'foobar';
subscr = round(rand(length(str),1));
xls = actxserv...
Answered 10 months ago
Hi Stefanie, I just faced the same obstacle, so here is my solution: The BarWidth Property is dependent on the smallest delta ...
Join the conversation