Mirror results from code
2 次查看(过去 30 天)
显示 更早的评论
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
2011-4-5
Please clarify whether the plot is in a .fig file or is currently being displayed ?
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!