Multiple line traces on same plot and same axis, but separated...

조회 수: 6 (최근 30일)
Joseph
Joseph 2012년 4월 27일
Hello,
Hopefully someone can help me with this problem.
I have some data which contains line traces taken from a velocity flow field and want to display them in a certain way.
Eacj trace is peak normalised, and so contains data from 0 to 1. I want to display all the traces on the same plot, but because they are all from 0 to 1, I want to display them slightly above one another, so you can see them all.
An example of my data is shown at: http://i48.tinypic.com/fuo0td.jpg
While what i want it to look like is: http://i49.tinypic.com/25psnmb.jpg
Can anybody help?

답변 (1개)

Daniel Shub
Daniel Shub 2012년 4월 27일
I wonder if uilineshift from the FEX will get you what you need.
  댓글 수: 2
Joseph
Joseph 2012년 4월 27일
It certainly helps, but i kind of need something which does it automatically.
Thanks though!
Daniel Shub
Daniel Shub 2012년 4월 27일
The code is all there and it is pretty straight forward. You should be able to modify it to automatically shift your data.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by