Mirror results from code
显示 更早的评论
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
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!