1

This question discusses how to find out the defaults are for FrameStyle.

How can these options be changed? For example, if we wanted LineColor -> Black and Thickness -> Absolute[0.8], how can this be chaged?

Ideally, it would be good to change it for just a single notebook. Global would be fine too.

Astor Florida
  • 1,326
  • 7
  • 21

1 Answers1

2

You can use SetOptions on the notebook:

SetOptions[
    EvaluationNotebook[],
    GraphicsBoxOptions->{DefaultFrameStyle -> Directive[LineColor->Red,Thickness->Absolute[2]]}
]

I used Red and Absolute[2] instead so that the effects are more noticeable. Also, note that I used Directive, so that the primitives apply to all four edges. If you want to customize individual edges, you would use the usual {{left, right}, {bottom, top}} syntax instead. Here's a very short animation:

enter image description here

Carl Woll
  • 130,679
  • 6
  • 243
  • 355