Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Aaronne
Posts:
110
Registered:
6/2/11


How to plot a third part function created figure into GUI?
Posted:
Jul 4, 2012 9:13 AM


Hi all,
I have got a function called 'plotcube' from FEX. I would like to plot a cube inside my GUI, where I have defined an 'axes' area in my GUI with tag 'axes1_BeforeAdjust'. When I run the codes below, the plotted cube is always much larger than the 'axes' area.
plotcube([500 500 500], [0 0 0], .25, [0 1 0]); axes(handles.axes1_BeforeAdjust);
May I ask how to plot it in the right place and size inside the 'axes' area I defined?
It should be something like
imshow(cubeImage, [], 'Parent', handles.axes1_BeforeAdjust);
But the 'plotcube' function I got from FEX has no 'Parent' property...
Thanks a lot. Aaronne.



