Feeds
提问
Adding a plot line (trend) to a group of bars
I have generated the following groups of bars in Matlab (v.2015b). <</matlabcentral/answers/uploaded_files/89234/untitled.jpg...
7 years 前 | 1 个回答 | 0
1
个回答提问
data representation for unique values
Hi I have about 6-7 different versions of the same dataset and I'm calculating some statistics on them. Let's say I calculate f...
8 years 前 | 0 个回答 | 0
0
个回答提问
Display markers at given points for multiple lines and fixing legend entry
I have the following basic example to illustrate a plot for three lines. xaxis=[1 2 3 4] p1=[56 57 58 62]; p2=[14 16...
8 years 前 | 1 个回答 | 0
1
个回答提问
Set string labels for a plot with multiple lines
Hi, I create a plot with 3 lines with xTickLabels set as follows: A=[1 2 3 8]; B=[2 4 5 6]; C=[5 7 11 12]; xaxis = ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Bar groups multiple line styles
Hi, I have a grouped bar chart as follows: y = [2 2 3; 2 5 6; 2 8 9; 2 11 12]; h=bar(y) I would like to generate 3 di...
8 years 前 | 1 个回答 | 0
1
个回答提问
Force a legend entry even if there are no matching elements in the plot
Hi, I'm generating a plot based on a condition as follows: d1 = plot(find(Vec == 1), Y(Vec == 1), 'r*', 'DisplayName', '...
9 years 前 | 1 个回答 | 0
1
个回答提问
Adding a legend manually for a plot generated by a loop
Hi, I am generating a plot in Matlab one point at a time depending on how a condition is satisfied within a loop: for i...
9 years 前 | 1 个回答 | 0