Questions tagged [background]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
75 views

Background color depending on external function value on the same plot

I would like to plot a two dimensional list (ListPLot [{x, y[x]}]) where the background color is changing with x value according to the value assumend by an external function f[x]. Thank you. Sorry, I ...
1 vote
2 answers
76 views

How to extract arguments of color spaces and determine brightness of said colors?

The objective is to produce an automated theme with contrasting colors for EvaluationNotebook FontColor and ...
  • 2,337
0 votes
0 answers
42 views

How do I find the background color of a cell when the cell group is closed?

I am trying to key some actions based on the background color of the selected cells. However, if the cell is in a closed group, CurrentValue returns a gray level. Once the cell is opened, then ...
1 vote
1 answer
68 views

How to change the background color of DateObject?

Recently I encountered a situation where I would like to distinguish between different DateObjects for a visual appearance for presentation. For now, I am using <...
  • 8,667
3 votes
3 answers
111 views

TemperatureMap Background of Dataset Cells based on their Value

I have a dataset with normal numbers (either integers or real) and I would like to visualize the dataset in a table where, for every row a colormap shows the ranking of the numbers from Min (blue) to ...
  • 129
3 votes
0 answers
38 views

Consistent cell background color when using CellFrameLabels

Let's say I have the simple notebook ...
  • 199
7 votes
0 answers
325 views

Background removal with hair

I'd like RemoveBackgound to work on images where the foreground boundary is nontrivial e.g. with hair: ...
  • 30.8k
1 vote
0 answers
74 views

Buggy EvaluationUnmatchedStyle for backgrounds with opacity

The EvaluationUnmatchedStyle option of PrivateCellOptions was introduced in v10, wherein any time input is changed, the corresponding output dims to signify that ...
  • 323
0 votes
0 answers
35 views

Seeking low level code to change the background color of ActionMenu menuitems

Currently, v13, the background color of the menuitems used in an ActionMenu are grey. Can the background be changed with some undocumented feature? This is for GUI reasons for visually impaired folks, ...
2 votes
1 answer
74 views

Frame coordinates of a Plot for background filling

I want to fill the frame background of a Plot with a color for which I am using a Rectangle as a ...
  • 28.7k
2 votes
1 answer
61 views

Text Background color overshoots Frame at top and bottom

$Version "12.2.0 for Microsoft Windows (64-bit) (December 12, 2020)" To demonstrate the spill over: ...
  • 28.7k
4 votes
4 answers
169 views

How to dynamically change background color of a buttonBar wrt selected in Mathematica

I have a ButtonBar like this and on click I want to change the color of the pressed button dynamically. Which is the properly way to do this in Mathematica ? My code: ...
  • 51
0 votes
1 answer
88 views

Why does ButtonBar ignore Background option and is it possible to color the actual face of the buttons in a ButtonBar?

Notice how I have Background->color set in each BUttonBarbut it is completely ignored. How do I fix this? Edit: (1) Bob ...
  • 2,337
4 votes
1 answer
116 views

Set a background color for several adjacent cells and "page"

I'm using a book style sheet but this question applies to the standard notebook interface as well. I'm writing a sequence of cells in different styles (text, equation, figure, figure caption, ...) in ...