The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 at NCTM 1994-2018. All Rights Reserved.