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 CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by