필터 지우기
필터 지우기

Shaded area in graph

조회 수: 3 (최근 30일)
gsourop
gsourop 2017년 2월 13일
Hi everyone,
I want to create a vertical shaded area when my variable a>0. So far, I have created the plot with the use of ttplot function (by Peter Perkins - exccellent graph illustration :)), so that:
time = datetime(1950,1:100,1);
y = randn(100,27);
% tt = array2timetable(y);
tt = array2table(y);
tt.time = time';
ttplot(tt)
I want to create a vertical shaded figure wherever the y variable is over zero. Do I do this inside the ttplot function or on the code, below the last line above?
Thanks in advance!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by