Questions tagged [style]
Questions about applying a consistent look or form to Mathematica output, including use of the built-in styling constructs (Style, PlotStyle, etc). For questions specific to styling in notebooks with stylesheet properties please use the [stylesheet] tag.
443
questions
7
votes
2
answers
480
views
How to get a single rainbow coloured legend for a group of rainbow coloured curves all having same line style?
A test code to clarify the requirement:
...
2
votes
0
answers
83
views
Is there such a thing as a half-space or partial space in Mathematica?
My boss has asked me to use the font Calibri for a publication plot. I'm running Mathematica 9, which is quite an old version.
In the following example plots using ...
4
votes
0
answers
30
views
How do I stop unwanted spaces in Mathematica cells styled as text?
Context: I am working in a Mathematica notebook (I am using 14.0, but the problem to be described was observed in earlier versions. At some time in the past, though, it was not happening.)
Problem to ...
7
votes
1
answer
133
views
Why does VertexColors break Strikethrough?
Bug introduced in 12.3 and persisting through 14.0
FontVariations -> {"StrikeThrough" -> True} stops working when ...
2
votes
2
answers
117
views
Change opacity of region defined by ParametricRegion
I can not find in the documentation how to set Opacity of region defined by ParametricRegion.
...
2
votes
0
answers
37
views
How to avoid disparity in BarChart? [duplicate]
Consider the following code
...
3
votes
0
answers
69
views
How to display a circular data set?
Is there a straighftorward way of building the following plot
where 5 data sets are displayed circularly, and some specific regions are highlighted (indexed i to vi)?
4
votes
2
answers
341
views
How can I make yellow on white more visible in a plot?
I'd like to use this color combination in a plot but for obvious reasons the yellow is hard to see. Obvious solutions would be to use other colors or change the background, but this is not what I'm ...
0
votes
1
answer
53
views
Adding an empty circle to this plot, plus changing styles
I cannot find a god solution to highlight the intersection point between these two curves, in the plot I made:
...
7
votes
1
answer
121
views
Points are plotted twice in ListPlot
When I do a plot like this
ListPlot[
{Style[{1, 2}, Red],
Style[{2, 3}, Blue],
Style[{3, 4}, Green]}
]
under the colored points, there are duplicates ...
1
vote
0
answers
25
views
Changing cell selection style
How to change this default selection style for a cell?
0
votes
1
answer
77
views
How to change FeynArts Paint style settings?
I'm a Mathematica stylesheet enthusiast. I love using beautiful stylesheet instead of the default one, such as Dracular. I'm also a physics researcher on scattering amplitudes, which forces me to use ...
4
votes
2
answers
164
views
PlotStyle function for elegant graphics
I would like to plot some functions with different line styles(dot,dash,points,etc).
Where I can handle the color for example in black and the size.
This is the code.
...
1
vote
1
answer
139
views
How can I mimic this beautiful layout for a table?
I was looking for new ideas to display my data, when I found this beautiful layout in a video lecture (Wolfram U: Visualisation des données avec le Wolfram Language - Partie 2).
I would like to mimic ...
3
votes
3
answers
120
views
How to access the index of a list for the colorfunction of a listplot?
From the documentation of ListPlot,
ListPlot[Table[Style[{Cos[t], Sin[2 t]}, Hue[t/(2 Pi)]], {t, 0, 2
Pi, Pi/20}],PlotStyle -> PointSize[Medium]]
Varies the ...
3
votes
5
answers
158
views
ListPlot: FillingStyle option with EdgeForm directive
I would like to give my ListPlot a more bar-like appearance like seen in this question:
How to include vertical lines in DiscretePlot?
I tried:
...
2
votes
1
answer
44
views
Displaying percentage in customized ticks
Consider the following plot, where the ticks were customized
...
2
votes
1
answer
47
views
Inverting y-axis with customized ticks
Consider the following tick-styling function
...
8
votes
1
answer
246
views
Shading of Dataset area
I want to shade a certain rectangular subarea of a Dataset:
...
0
votes
0
answers
30
views
Defining cell background colours by default [duplicate]
Is there a way to define the background colour of new cells by default, so that whenever I create a new cell in a Mathematica notebook, it is automatically shaded accordingly?
2
votes
1
answer
83
views
How to change the plot style of several curves, in this manipulate box?
I'm sure this is very easy, but I'm currently unable to make it to work properly. I just need to give different colors and style to the three curves shown in this manipulate box:
...
2
votes
1
answer
60
views
Only draw partial boundary in ParametricPlot
Consider the following simple plot
ParametricPlot[
ReIm[x*Exp[I*y]], {x, 0, 1}, {y, 0, 2 \[Pi]}
]
resulting in
.
Notice the blue line between $0$ and $1$ ...
3
votes
1
answer
200
views
How to get matplotlib-type ticks? [closed]
Consider the following plot, obtained with the Python plotting library matplotlib:
Is it possible to get the plot ticks to have this same style in a Mathematica ...
7
votes
1
answer
218
views
Make PlotStyle aware of the number of curves that are plotted
I am afraid I'm having an xy-problem, so I will try to start by describing my context.
I have a function that depends on two variables, one of which I call a parameter. I want to make a plot of the ...
1
vote
0
answers
41
views
Big FontSize produces empty result
Style[A, FontSize -> 540]
(* A with FontSize 540*)
Style[A, FontSize -> 541]
(* Nothing*)
I think FontSize 541 is not too big. Practically there may be a ...
1
vote
0
answers
41
views
Scalable text in Graphics [duplicate]
From my little experience, it seems impossible to scale a text in Graphics.
In other words, text in Graphics is not scalable.
...
1
vote
0
answers
62
views
Trying to use SetOptions on Style to set some default plotting options
I want to set some default options for Style. I tried this:
...
1
vote
0
answers
56
views
Logarithmic display in plot axis
Consider the code
...
0
votes
0
answers
28
views
FontSize of fraction after TableForm is small [duplicate]
FontSize of fraction after applying TableForm is small.
...
2
votes
1
answer
86
views
Margin-colored text in box in Graphics
I am looking to put quite a bit of text in a graphic. I want the text to be in a box with rounded corners and the box to drop a shadow. I want each paragraph to have a small hanging indent (...
1
vote
0
answers
61
views
What is the orange color symbol in the new line? [duplicate]
In mathematica v 13.1 ,
If I type + key of my keyboard in a new cell, I see
What is it? Also if I type + twice in a new cell, ...
0
votes
1
answer
83
views
How to get a nice plot of the following region?
Consider the region
...
4
votes
1
answer
99
views
Make a list of letters of the alphabet, in random colors, with frames having random background colors
Style[#, Background -> RandomColor[], FontColor -> RandomColor[]] & /@
Framed /@ Alphabet[]
This is the result I want
This is the result I'm getting
...
0
votes
1
answer
116
views
DropShadowing PlotStyle makes Plot trace pixelated on Cloud and Jupyter. Desktop too? Why? Fixes?
Both working on Wolfram Engine + Jupyter Notebooks or on Wolfram Cloud, I see pixelated traces and axes when using the new PlotStyle...
0
votes
1
answer
140
views
Why does font weight sometimes lighten in certain Input cells? [closed]
Why do font weights sometimes change in cells, where they evolve from a regular weight to a dimmer or lighter font weight? The notebook I have open is not heavy as it only has a few cells. Also, there ...
1
vote
1
answer
220
views
How to check that a user-input of a list of CellObject-s actually belong to the EvaluationNotebook?
Suppose a user inputs a list of CellObject-s to operate on. How might one check these objects to determine if they actually belong to the ...
2
votes
2
answers
204
views
ChangeCellStyle function works in one direction but not in reverse
This post is a continuation of an earlier Question, How to programmatically change CellStyle of all Cells from "Input" to "Code"? but with a ...
1
vote
2
answers
178
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
votes
1
answer
48
views
How to change/specify BaseStyle size on $x$ and $y$ axes?
In the given code, how can I have different BaseStyle sizes on $x$ and $y$ axes?
...
0
votes
0
answers
91
views
Map-ed programmatic Style-s (based on user-input) are not evaluating. Scoping constructs are suspected
The top function manages several sub-functions which set visual properties over a list of Options.
Inside stylerules the ...
1
vote
0
answers
53
views
What is the quickest way (minimum number of manual steps) to let some highlighted text appear as say Courier 12 pt regular?
What is the quickest way (minimum number of manual steps) to let some highlighted text appear as say Courier 12 pt regular?
1.) In Mathematica notebooks, I use a different font in explanatory text ...
2
votes
1
answer
63
views
How to show zoomed portion of MatrixPlot
I have the following code from a textbook:
...
0
votes
0
answers
36
views
How to pass styles arguments to Style from a wrapper function's argument?
The user-defined symbol styx works fine for style argument values of Automatic and ...
2
votes
1
answer
53
views
How to style land and borders in GeoRegionValuePlot
I am trying to create a GeoRegionValuePlot-like graph with:
Land coloured Red or Blue, depending on a numerical value.
Thin black borders around the states.
A white background, showing nothing but ...
0
votes
1
answer
54
views
Dynamically highlighting all substrings
I want to dynamically highlight all substrings that are equal to selected substring inside string str. Also I want the string str...
2
votes
1
answer
98
views
How to set IntervalMarkersStyle differently for error bars in x and y directions
I would like to have the error bars in x and y directions rendered in different styles. I know how to style them both in the ...
0
votes
0
answers
39
views
The font of my whole document changed after adding a section title [duplicate]
All my input textn ow looks like this:
Very unreadable in this font. How to reset it back to normal?
3
votes
1
answer
54
views
Is there an equivalent to ClippingStyle in Graphics3D?
Say I show a sphere, but restrict the PlotRange.
Graphics3D[Sphere[], PlotRange -> {-0.6, 1}]
There's a hole there, that I'd ...
4
votes
1
answer
62
views
Styling of Grid so that each cell is a square
How to make each cell of Grid being a square?
...
9
votes
2
answers
636
views
Rotating 2D graph like if it were in 3D
I want to rotate graph plotted in 2D like if it were in 3D - around any axis x, y, z.
The following code allows me to rotate only inside ...