Setting a pie chart background to white
Mostrar comentarios más antiguos
Hi,
I'm new to MATLAB and this is my first question.
How do I set a pie chart background to white? I've tried 'whitebg' and 'colordef', and I've tried various 'set(handle...)'. I've searched Mathwork's website and I've Googled it. Hard to believe that something this simple is so hard to find, although I obviously could be missing something.
I only care how it appears on the display, not how it prints or otherwise exports.
Thanks.
Dave
Respuestas (1)
The background for the pie chart is the figure 'color' property, not one for the axes object.
set(gcf,'color','w') % or use the proper figure number if not current
Categorías
Más información sobre Pie Charts en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!