plot colour using GUIDE

1 回表示 (過去 30 日間)
Jason
Jason 2011 年 7 月 20 日
Hello. I can't workout how to change the background colour of a plot that I associate with an axes component:
axes(handles.axes1)
plot(x,y)
I cannot find any mention of background color in the manual.
any suggestions? Thanks Jason

採用された回答

Robert Cumming
Robert Cumming 2011 年 7 月 20 日
set ( handles.axes2, 'Color', [1 0 1] )
  2 件のコメント
Jason
Jason 2011 年 7 月 20 日
Thankyou both. I now need to change the grid color?
Is this possible
Thanks
Robert Cumming
Robert Cumming 2011 年 7 月 20 日
set ( handles.axes2, 'XColor', [1 0 1] )

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, 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