フィルターのクリア

Axis Modification (4 different type axis)

1 回表示 (過去 30 日間)
Brent
Brent 2011 年 6 月 24 日
I'm looking to create a plot that show four different scales:
  • +y axis would be frequency (HZ)
  • +x axis would be phase delay (deg)
  • -y axis would be damping ratio (unitless)
  • -x would be yaw velocity gain (deg/s/deg or 1/s)
I can scale the plot no problem, but the tricky part of what I'm asking is that the phase delay axis needs to from -90 to 0. The -90 would be the origin and it would increase to 0 on the +x axis.
I could just flip the phase lag axis with the yaw velocity gain to where it becomes a matter of just scaling everything properly. That will be my back-up plan if what I'm asking can't be done in Matlab.
Here's my code (you'll notice why scaling is important):
a1=0.2 %Heading Easiness (1/s)
fn=0.6 %Heading Responsiveness (Hz)
chi=0.7 %Directional Dampening (No Units)
phi=80 %Following Controllability (deg)
%%Rhombus Skeleton
%Car 1
x1=[-a1 0 phi 0 -a1];
y1=[0 fn 0 -chi 0];
%Plot
plot(x1,y1)
grid
Thanks!

採用された回答

Brent
Brent 2011 年 9 月 9 日
I found exactly what I was looking for in File Exchange. It's more of a spider plot.

その他の回答 (1 件)

Jan
Jan 2011 年 6 月 24 日
Does a reversed X-axis solve your problem?
plot(1:10);
set(gca, 'XDir', 'reverse')
  1 件のコメント
Brent
Brent 2011 年 6 月 24 日
It's a start...The +x axis now has negitive values and the -x axis now has postive values (so far so good!). But now I need the +x axis to start at -90 and increase to 0 rather than starting at zero and decreasing to -90. Is that even possible?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAxes Appearance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by