MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to change graph options?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126128] How to change graph options?
  • From: James Stein <james at stein.org>
  • Date: Fri, 20 Apr 2012 07:43:35 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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?




  • Prev by Date: Encode and Get
  • Next by Date: Find all roots with FindRoot
  • Previous by thread: Re: Encode and Get
  • Next by thread: Re: How to change graph options?