How to prepare a 'scaled' 2D plot?

조회 수: 3 (최근 30일)
Alireza H.
Alireza H. 2013년 4월 23일
I have values of a variable like v, which change with y, at different x stations.
I'd like to have a plot similar to this: http://imageshack.us/photo/my-images/713/plotj.jpg/
I am wondering how I can do this MATLAB? The tedious way is to manually scale v and then add it to x and plot new x with y! But I guess there is some automatic way to do this.
Any help would be appreciated.
Thanks.
  댓글 수: 1
Matt Kindig
Matt Kindig 2013년 4월 23일
I've made a plot similar to this, and I had to do the tedious way as well--basically add a scaled version of the deviation (lines with points) to the x values, and then plot the new x vs. y. I don't think there is a more automatic way to do this to get your style of plot. The only way I can think of would be to use quiver() to represent your deviations as arrow lengths.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by