Print Pushtool in gui doesn't work!
Show older comments
I have a GUI that has a figure containing an axes and some uicontrolls plus some toolbar pushbuttons including a print Pushbutton which is hooked up to the default callback function. when I have a ribbon in my axes it refuses to print the graphics (it still prints an empty figure), but when I have a graphics that was drawn by plot, the print button works. P.S. my axes 'visibility' property is turned off, which don't think has anything to do with the print malfunction.
any tip is appreciated
2 Comments
Sean de Wolski
on 28 Jun 2012
Can you try turning on the axes visibility on and see if it prints?
hana
on 28 Jun 2012
Accepted Answer
More Answers (2)
Jan
on 29 Jun 2012
0 votes
If the figure property 'RendererMode' is 'auto', Matlab selects the "best" renderer for the existing objects: 'Painters' for 2D, 'OpenGL' or 'ZBuffer' for 3D, 'OpenGL' for 3D with a lot of data or transparencies.
If you specify, how you "print" the graphics, the influence of the renderer could be investigated. Do you call the print command, and if so, how? Do you print to paper and specify a 'paperposition' outside the printable area?
hana
on 29 Jun 2012
0 votes
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!