Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to plot a third part function created figure into GUI?
Replies: 1   Last Post: Jul 4, 2012 12:48 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 110
Registered: 6/2/11
How to plot a third part function created figure into GUI?
Posted: Jul 4, 2012 9:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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]);

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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.