Mirror results from code
2 views (last 30 days)
Show older comments
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 Comment
Walter Roberson
on 5 Apr 2011
Please clarify whether the plot is in a .fig file or is currently being displayed ?
Answers (1)
Walter Roberson
on 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.
0 Comments
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!