Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9708

How to change graph options?

From James Stein <james@stein.org>
Newsgroups comp.soft-sys.math.mathematica
Subject How to change graph options?
Date 2012-04-20 11:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jmri7r$la4$1@smc.vnet.net> (permalink)

Show all headers | View raw


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?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to change graph options? James Stein <james@stein.org> - 2012-04-20 11:44 +0000
  Re: How to change graph options? Helen Read <readhpr@gmail.com> - 2012-04-21 04:31 +0000
  Re: How to change graph options? A Retey <awnl@gmx-topmail.de> - 2012-04-21 04:31 +0000
  Re: How to change graph options? A Retey <awnl@gmx-topmail.de> - 2012-04-21 04:30 +0000

csiph-web