symmetry x axis y axis plotting

46 ビュー (過去 30 日間)
ljaseon
ljaseon 2021 年 5 月 11 日
コメント済み: ljaseon 2021 年 5 月 12 日
i have a problem to plotting something i have a code but code is so complex that i didnt bring that code
i just uploaded the picture the situation that what i want it
i have a code that shows in 1 region when plotting figure shows to quarter region
but what i want it is to full region like this picture
,what i want it is to shown origin and symmetryed region at the same figure
symmetry x axis ,y axis
how can do I? what function or what command i should input?

採用された回答

Bob Thompson
Bob Thompson 2021 年 5 月 11 日
Without seeing the code I can't be very specific. Something like the following should work:
figure
hold on
plot(zone1x,zone1y)
plot(-zone1x,zone1y)
plot(zone1x,-zone1y)
plot(-zone1x,-zone1y)
I think you might also be able to put them all in one plot command, but I don't do that very often, or at least reduce the number of calls.
plot(zone1x,zone1y,-zone1y)
plot(-zone1x,zone1y,-zone1y)
  1 件のコメント
ljaseon
ljaseon 2021 年 5 月 12 日
Thanks for helping !! i got it !!

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by