Plotting 2 variable opposite ?

Hello,
A ploting questions: Supposed we have 2 timeseries with the same length ex. x1=rand(100,1) and x2=rand(100,1) how we can created an plot with our variables oppossite ? I mean, using the same yy axes, two plot plot(x1) and bar(x2).(I know about ployy, but this not i am looking for)
ty

댓글 수: 4

Jan
Jan 2011년 11월 2일
The question is not clear. What does "opposite" mean?
Stavros
Stavros 2011년 11월 3일
I will try to say it in more ..funny way…
If you remember the TOPGUN scene where the “awesome” pilot Tom Cruise is upside down from a MIG plane… !!
I am trying to find how I could have the plot of x1 and upside down the bar plot of x2.
Ty for your time
Jonathan Roy
Jonathan Roy 2012년 7월 12일
You find the solution??? I try to do the same thing...
Ryan
Ryan 2012년 7월 12일
Jonathan Roy, you may be better off creating a new question and clarifying what you're looking for (just saying opposite and referencing Top Gun aren't cutting it). Old bumped questions don't seem to get answered as readily as new ones.

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

답변 (1개)

Jan
Jan 2011년 11월 2일

0 개 추천

Guessing:
x1 = rand(100,1);
x2 = rand(100,1);
plot(x1);
hold('on');
bar(x2);

댓글 수: 1

Stavros
Stavros 2011년 11월 3일
ty for time but isnt what iam looking for

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

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2011년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by