Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: TraceInternal and OptionQ

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9029] Re: [mg8949] TraceInternal and OptionQ
  • From: Allan Hayes <hay at haystack.demon.co.uk>
  • Date: Wed, 8 Oct 1997 00:05:26 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Olivier Gerard <jacquesg at pratique.fr>
Re: [mg8949] TraceInternal and OptionQ

> But can you give us a simple example were a
> RuleDelayed is necessary in an option for a standard
> Mathematica function ?

Oliver:

I'm sure that there are better examples, but:

gr1=Show[Graphics[{Circle[{0,0},1]}], PlotLabel -> "This font",
    DefaultFont->$DefaultFont];

gr2=Show[Graphics[{Circle[{0,0},1]}], PlotLabel -> "This font"];

$DefaultFont = {"Helvetica",24.};

Show[gr1]  (*used default Courier font*)
Show[gr2]  (*used default new Helvetica font*)

$DefaultFont={"Courier",10.}; (*restore original*)

Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html
voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
Leicester,  UK






  • Prev by Date: Re: TraceInternal and OptionQ
  • Next by Date: Re: Colored ListPlot
  • Previous by thread: Re: TraceInternal and OptionQ
  • Next by thread: Re: TraceInternal and OptionQ