Mirror results from code

2 ビュー (過去 30 日間)
Aled
Aled 2011 年 4 月 5 日
Hi, i have a code generated in MATLAB that displays results on a fig file of a 2D surface plot where there is symmetry conditions, i.e. the result is split in two.
Is there a function i can use in MATLAB that will mirror the results displayed??
many thanks
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 4 月 5 日
Please clarify whether the plot is in a .fig file or is currently being displayed ?

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

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 4 月 5 日
The easiest way might be to create a new axis right beside the other one, but with XDIR reversed, then copyobj() the children of the original axis over to the new axis.
Or you could create an hggroup object, copyobj the (other!) children of the original axis to the hggroup, then apply a hg transform to the group.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by