Error with figure color function
Ältere Kommentare anzeigen
I am trying to display a figure with color so I am entering:
function class1()
figure('name', 'Example',...
'numbertitle', 'off',...
'menubar', 'none'...
'color',[1 1 1])
end
But I get an error:
Error: File: class1.m Line: 6 Column: 5
Unexpected MATLAB expression.
How do I fix it so I can set colour to the figure? Assistance would be greatly appreciated. MATLAB version: R2012a
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Display and Exploration finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!