Plot same graph onto a figure and into GUI

2 ビュー (過去 30 日間)
Stephen
Stephen 2015 年 4 月 29 日
回答済み: Adam 2015 年 4 月 29 日
I've got a GUI that plots out to a figure (f1).
I want to plot the same graph to the gui handles.axes1
Normally I'd just replot the data under a new axes but it's a complex set of loops to create markers for different datasets, lots of 'hold on', you get the problem.
I've messed around with set(), but surely there must be a way to just take f1 and set it's axes to handles.axes1 while retaining the figure?
So in the end I have: Figure 1 with the graph, handles.axes1 with a zoomed version of the same graph.

採用された回答

Adam
Adam 2015 年 4 月 29 日
doc copyobj
I've never used it, but it sees like it may do what you want.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by