フィルターのクリア

gplotmatrix problem in GUI

1 回表示 (過去 30 日間)
as hz
as hz 2013 年 4 月 10 日
Dear All,
I am using a gplotmatrix inside a GUI but when the I try to plot it in an Axes (axesPlot1) it is extending to all the screen (on top off all the other GUI components). Strangely, It does not happen with the plot. Is there a limitation in gplotmatrix?, How can I fix it?
Thanks a lot in advance.
Works:
axes(handles.axesPlot1);
plot(cell2mat(Aata(:,[2])),cell2mat(Aata(:,[3])));
Does not work:
axes(handles.axesPlot1);
gplotmatrix(cell2mat(Aata(:,[2 3 4])), cell2mat(Aata(:,[5 6 7])), Aata(:,[8]));

採用された回答

Tom Lane
Tom Lane 2013 年 4 月 11 日
The gplotmatrix function plots into multiple axes (a rectangular array of them), so I don't see how to make sense of asking it to plot into one set of axes.
You could try getting the handles to the axes that gplotmatrix creates (returned as the second and third outputs), and adjust their position properties to fit in the area you have available.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by