Mirror results from code

2 Ansichten (letzte 30 Tage)
Aled
Aled am 5 Apr. 2011
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 Kommentar
Walter Roberson
Walter Roberson am 5 Apr. 2011
Please clarify whether the plot is in a .fig file or is currently being displayed ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 5 Apr. 2011
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.

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by