There is no InveredHardcopy property on the Figure class error?

조회 수: 1 (최근 30일)
ROJO
ROJO 2017년 3월 6일
댓글: ROJO 2017년 3월 8일
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,

채택된 답변

Walter Roberson
Walter Roberson 2017년 3월 6일
InvertHardCopy not InvertedHardCopy

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by