Re: How to change graph options?
- To: mathgroup at smc.vnet.net
 - Subject: [mg126149] Re: How to change graph options?
 - From: A Retey <awnl at gmx-topmail.de>
 - Date: Sat, 21 Apr 2012 00:29:38 -0400 (EDT)
 - Delivered-to: l-mathgroup@mail-archive0.wolfram.com
 - References: <jmri7r$la4$1@smc.vnet.net>
 
Hi,
> This code fails to achieve its purpose:
>
>     ClearAll [ g ] ;
>     g = Graph [ { 1, 2 } , { 1 ->  2 } , ImageSize ->  Tiny]
>     Options [ g ]
>     SetOptions [ g, ImagePadding ->  10 ] ;
>
> The reason, I assume, is that 'g' is neither a user-defined nor built-in
> function.
> The only work-around I can think of is too ugly to describe.
> Is there any clean way to change or append the option settings of a Graph?
I think this is what you want:
Show[g, ImagePadding -> 10]
hth,
albert