Message Boards Message Boards

0
|
6103 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

SetOptions[..., BaseStyle[...]] for all plots

Posted 12 years ago
In a deseperate bid to dispose of Courier and improve the lifetime of my keyboard I'd like to SetOptions for all Plots for BaseStyle, but I can't get anything to work. This is as far as I got before I started typing everything by hand:
ReleaseHold /@
Map[HoldComplete@
    SetOptions[#,
     BaseStyle -> {FontFamily -> "Helvetica", FontSize -> 12,
       FontWeight -> "Bold", FontColor -> RGBColor[.2, .55, .7]}] &,
  Names["System`*Plot"]]

Any help would be gladly appreciated!
POSTED BY: Martin Hadley
3 Replies
It looks like you are feeding SetOptions a string "Plot"
I am indeed. Should've checked the output of Names before posting. I don't have Mathematica access for a while, does ToExpression on Slot fix this appropriately? Thanks for not ribbing on me, Chris.
POSTED BY: Martin Hadley
ToExpression or Symbol will do what you want. InputForm will help show you what you are dealing with,
InputForm[Symbol /@ Names["System`*Plot"]]
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract