user9003011
user9003011

Reputation: 306

How to change gridline color

In current version of matlab 2017, gridline properties commands of earlier version are not working. How to reset gridline color (major and minor). How to change line weight and line style

set(gca,'GridLineColor',[0.7 0.2 0.1])

Upvotes: 0

Views: 264

Answers (1)

Yuval Harpaz
Yuval Harpaz

Reputation: 1426

try

set(gca,'GridColor',[0.7 0.2 0.1])

Upvotes: 1

Related Questions