How can I move data on a graph?
3 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
This is my graph. I should put the red data at the same weight of orange data in the graph.
The variable 7 is the Standard Deviation while the variable 8 is the average.
I tried in this way for the first red data, but it didn't work:
C=Var.8 % AVERAGE
for i =4041
C(i)=C(i)+99.658;
end
D=Var.7 %SD.DEV
for i =4041
D(i)=D(i)+99.658;
end
plot(example_daily.Time(:,1),[example_daily.Var5(:,1) C D]);
Thank you in advance.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!