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.

Filter by
Sorted by
Tagged with
7 votes
3 answers
472 views

How to remove artifacts in Plot3D?

Consider the following code Plot3D[ArcTan[x/y] + ArcTan[y/x], {x, -1, 1}, {y, -1, 1}] Is it possible to remove the "dragging" artefacts observed at the ...
sam wolfe's user avatar
  • 4,531
3 votes
0 answers
27 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 ...
PaulCommentary's user avatar
5 votes
1 answer
88 views

Why does VertexColors break Strikethrough?

FontVariations -> {"StrikeThrough" -> True} stops working when VertexColors is introduced. Which versions ...
Mr.Wizard's user avatar
  • 271k
2 votes
2 answers
110 views

Change opacity of region defined by ParametricRegion

I can not find in the documentation how to set Opacity of region defined by ParametricRegion. ...
azerbajdzan's user avatar
  • 13.3k
2 votes
0 answers
37 views

How to avoid disparity in BarChart? [duplicate]

Consider the following code ...
sam wolfe's user avatar
  • 4,531
3 votes
0 answers
68 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)?
sam wolfe's user avatar
  • 4,531
4 votes
2 answers
337 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 ...
infinitezero's user avatar
  • 1,409
0 votes
1 answer
52 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: ...
Enrico M.'s user avatar
  • 867
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 ...
user40761's user avatar
  • 121
1 vote
0 answers
25 views

Changing cell selection style

How to change this default selection style for a cell?
swish's user avatar
  • 7,781
0 votes
1 answer
70 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 ...
Handger's user avatar
  • 19
4 votes
2 answers
150 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. ...
irondonio's user avatar
  • 545
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 ...
JuanC97's user avatar
  • 612
3 votes
3 answers
117 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 ...
Wouter's user avatar
  • 396
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: ...
eldo's user avatar
  • 60.4k
2 votes
1 answer
42 views

Displaying percentage in customized ticks

Consider the following plot, where the ticks were customized ...
sam wolfe's user avatar
  • 4,531
2 votes
1 answer
46 views

Inverting y-axis with customized ticks

Consider the following tick-styling function ...
sam wolfe's user avatar
  • 4,531
8 votes
1 answer
246 views

Shading of Dataset area

I want to shade a certain rectangular subarea of a Dataset: ...
eldo's user avatar
  • 60.4k
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?
sam wolfe's user avatar
  • 4,531
2 votes
1 answer
80 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: ...
Cham's user avatar
  • 3,989
2 votes
1 answer
59 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$ ...
Gragarian's user avatar
3 votes
1 answer
198 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 ...
sam wolfe's user avatar
  • 4,531
7 votes
1 answer
217 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 ...
And R's user avatar
  • 472
1 vote
0 answers
40 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 ...
imida k's user avatar
  • 3,935
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. ...
imida k's user avatar
  • 3,935
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: ...
Camillo's user avatar
  • 11
1 vote
0 answers
55 views

Logarithmic display in plot axis

Consider the code ...
sam wolfe's user avatar
  • 4,531
0 votes
0 answers
28 views

FontSize of fraction after TableForm is small [duplicate]

FontSize of fraction after applying TableForm is small. ...
imida k's user avatar
  • 3,935
2 votes
1 answer
85 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 (...
Nicholas G's user avatar
  • 1,951
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, ...
imida k's user avatar
  • 3,935
0 votes
0 answers
30 views

Manually Styling The Manipulate "Form" and the Graphics 3D "Form"

I want to turn manually style the manipulate form such that the background and form are black, the cell background is black, and the form controls are white and the font is white. Additionally the ...
jacobian's user avatar
0 votes
1 answer
82 views

How to get a nice plot of the following region?

Consider the region ...
John Taylor's user avatar
  • 5,387
4 votes
1 answer
95 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 ...
Ratheesh's user avatar
  • 307
0 votes
1 answer
114 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...
rhermans's user avatar
  • 36.3k
0 votes
1 answer
139 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 ...
Jules Manson's user avatar
  • 2,437
1 vote
1 answer
217 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 ...
Jules Manson's user avatar
  • 2,437
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 ...
Jules Manson's user avatar
  • 2,437
1 vote
2 answers
175 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 ...
Jules Manson's user avatar
  • 2,437
2 votes
1 answer
46 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? ...
math2021's user avatar
  • 719
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 ...
Jules Manson's user avatar
  • 2,437
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 ...
Adalbert Hanßen's user avatar
2 votes
1 answer
62 views

How to show zoomed portion of MatrixPlot

I have the following code from a textbook: ...
J. O'connor's user avatar
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 ...
Jules Manson's user avatar
  • 2,437
2 votes
1 answer
51 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 ...
diomedesdata's user avatar
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...
azerbajdzan's user avatar
  • 13.3k
2 votes
1 answer
97 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 ...
AxelF's user avatar
  • 977
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?
Victor Nielsen's user avatar
3 votes
1 answer
50 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 ...
rhomboidRhipper's user avatar
4 votes
1 answer
56 views

Styling of Grid so that each cell is a square

How to make each cell of Grid being a square? ...
azerbajdzan's user avatar
  • 13.3k
9 votes
2 answers
632 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 ...
azerbajdzan's user avatar
  • 13.3k

1
2 3 4 5
9