how to draw a 2d stacked plot
1 view (last 30 days)
Samaneh Arzpeima on 21 Jan 2019
I have 3 parameters
now I want to have a stacked plot for sliprates against time that is the same for all.Each sliprate should be ploted at its y position.
I used the following code
y=alongstrike(1,:); %1*41 (-100:5:100)
plot(time(:,i),sliprate(:,i)+alongstrike(1,i)) %sliprate is 10000*41
my problem is that I can't see the sliprate movement,its so small.they should all look like real waves. I attached my figure .Can you tell me what could get fixed
Star Strider on 21 Jan 2019
I can barely see any variation, even when I enlarge the image.
One option is simply to amplify them, perhaps by 100, and note that in the information about the plot:
plot(time(:,i),sliprate(:,i)+alongstrike(1,i) * 100) %sliprate is 10000*41