help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grid option on plot window figure for subplots


From: Andreas Weber
Subject: Re: Grid option on plot window figure for subplots
Date: Fri, 3 May 2019 13:54:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Am 03.05.19 um 12:31 schrieb vempati Sarma:
When I select grid option, on window figure, displaying multiple subplots, grid is appearing only  on last subplot. Is there is any way to set or select specific subplot to have grid? I am using GNUoctave version 5.1.0 ( binary package) on Windows 10.

You can select specific plots with subplot or, if this is what you want, call "grid" with all axes:

arrayfun (@(h) grid (h, "on"), findall ("type", "axes"))

Hm, perhaps there is an better way...

-- Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]