There is no InveredHardcopy property on the Figure class error?

1 visualización (últimos 30 días)
Hi, I am trying to set the background color of my figures, and save the figure with the background. My code is like,
isosurface(blah blah)
fig=gcf;
fig.Color = [Color code];
set(gif, 'InvertedHardcopy', 'off')
But I'm getting that "Error using matlab.ui.Figure/set" "There is no InveredHardcopy property on the Figure class" error at the set(gcf, 'InvertedHardcopy', 'off') part. I'm using MATLAB 2016a on Linux. Is there any way to get around this issue?
Thank you,

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Mzo. de 2017
InvertHardCopy not InvertedHardCopy

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by