Message Boards Message Boards

GROUPS:

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

Posted 10 years ago
4988 Views
|
3 Replies
|
1 Total Likes
|
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
ToExpression or Symbol will do what you want. InputForm will help show you what you are dealing with,
InputForm[Symbol /@ Names["System`*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
It looks like you are feeding SetOptions a string "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