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
2
votes
2answers
36 views

How can I replicate the pseudo-3D style of this excel plot?

I have the following code: ...
1
vote
2answers
36 views

ColorFunction or PlotStyle Based on List

I am plotting the values of a continuous, but complicated function Energy[x_] via ListLinePlot. Another function ...
1
vote
1answer
34 views

Rewrite ListPlot using Graphics while perserving point color?

I have a lot of data points, and I have noticed that plotting using Graphics is usually much quicker than plotting with ListPlot. The problem is I am trying to color the data points based off some ...
3
votes
1answer
42 views

Plots dashed when I don't specify them to be dashed?

I was plotting a function (F here) with selected values, and just wanted the plot to be solid lines with the selected colors specified with PlotStyle: ...
8
votes
2answers
953 views

wolframscript — How to print in color

I want to print to the console in color from a wolframscript. I tried just using a Style: ...
13
votes
1answer
124 views

Control grain size of stipple shading

Mathematica 12.1 introduced a number of amazing shaders such as StippleShading. Is there a way to control the grain size of ...
1
vote
1answer
43 views

Merging (Joining) Formatted Row Labels to an Existing Styled and Formatted Grid

From a previous question and with the help of kglr a grid containing a data matrix with column labels was properly formatted and created Controlling label alignment/spacing in large grids Having this ...
1
vote
1answer
24 views
1
vote
0answers
44 views

How to undo “do this for all notebooks” when prompted to revert or keep updated styling of older styled notebooks?

Check out this old question: How to stop V10 asking to continue with updated styling each time I open a new notebook Cool, right? But what if you checked "do this for all notebooks", naively ...
0
votes
2answers
39 views

How to align TableForm entries at the decimal point and give it two-digit right-side floating point precision for monetary amounts?

My question essentially asks everything but I shall rephrase it to make certain it is well understood. 1. How to print all entries in rows of a column so that they align perfectly at the decimal ...
0
votes
3answers
32 views

How to use “Style” properly with “ListPointPlot3D”?

Using MMA 12.0 on a Windows 10 machine. I am trying to plot a list of points in a 3D plot. Each point has a different weight which I want to show using different point sizes. The points are also in ...
2
votes
0answers
28 views

Text in Grid cells not aligning correctly and how to style them all with single rule

This is the entire module that contains all code to output with a Print[Grid[data, rules]] statement. I have all cells arranged in stacked rows in a convenient <...
1
vote
0answers
20 views

Style options to make initialization cells appear like regular cells?

I find the discontinuous grey rectangles around those cells to be distracting. Any way I can make them look like regular cells?
4
votes
2answers
61 views

How to style the frame of the a button?

For certain Appearance options of Button you can control the Background, but how does one ...
0
votes
1answer
63 views

Text Display doesn't save in version 11.1

I have the problem that my changes to the display style of cells doesn't save with the notebook. When I convert a cell to text-display and check before saving I can see that the style is set as text-...
9
votes
0answers
164 views

The dark side of Mathematica

I know that there are (at least one: Where can I find a dark stylesheet for mathematica?) previous posts about how to change the appearance of Mathematica, but they haven't been much of a help for me. ...
6
votes
2answers
69 views

Alternate Background color by row in a Grid in the presence of SpanFromAbove

I have some rows I want to put into a Grid: ...
13
votes
1answer
513 views

Graph: Coloring parallel edges individually

CODE: Graph[{Style[0 -> 1, Red], Style[0 -> 1, {Blue, Dashed}]}] This Mathematica code will make both lines solid Red, since they belong to the same two ...
5
votes
1answer
193 views

Differently colored edges of same direction in a graph?

When I try to color edges in a graph that point to different vertices, it works properly: Graph[{Style[DirectedEdge[1, 2], Red], Style[DirectedEdge[2, 3], Blue]}] ...
1
vote
1answer
147 views

Coloring multi-edges in graphs

I have the following edgelist and colors: ...
3
votes
4answers
216 views

How to remove style from a styled number?

For example, I have a number with style like so: Style[1, Red, 20] How do I remove its style, so it returns to its inner value 1...
7
votes
2answers
238 views

How to edit stylesheet to change automatic numbering of Reference type to numeric, not alphabetic?

I applied the stylesheet JournalArticle to a notebook. When I use the Reference cell style there, it automatically inserts "A.", "B.", etc., to number the cells. What exactly should one do (...
0
votes
2answers
51 views

Making the solutions of a ParametricNDSolveValue show up as different colours?

I am having a bit of trouble when it comes to plotting the solution of a system of non-linear ODE's. I write ...
1
vote
0answers
31 views

Is it possible to define custom sound style (or instrument)?

For example, you can specify the style or instrument as "Violin" in a SoundNote like: SoundNote[0, 1, "Violin"] Here ...
12
votes
2answers
582 views

A Smooth and Round Voronoi Mesh

I want the edges of a VoronoiMesh to be smooth and round. I have found the following code from this answer ...
3
votes
1answer
61 views
7
votes
1answer
102 views

Plotting: Change colour scheme and line thickness at the same time

Some stylistic attributes of plots are independent of colour, e.g. thickness, dashing, etc. I can make the lines thick in this plot without having to specify a separate style for each line: ...
2
votes
1answer
81 views

Typesetting LaTeX in a text cell

I recently started trying to use stylesheets and different cell types to organize and explain my logic. Often I try to type equations into my text cells to explain what I'm doing, but this can be ...
0
votes
0answers
23 views

Is it possible to have a gradient in the background colour of a TextGrid?

This question seems to imply that it is not possible. However, it is about six years old. I wonder if more recent versions of Mathematica make graded backgrounds ...
1
vote
1answer
44 views

Inactivate Controls within Manipulate

Given a certain Control object (checkbox, for example) within a Manipulate environment, my goal is to define another control ...
3
votes
2answers
168 views

Selecting Edges and Corners in a Mesh

Consider the following VoronoiMesh obtained after a few iterations of Lloyd's relaxation algorithm ...
2
votes
2answers
78 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
1answer
34 views

Stylesheet control of system panel font colors?

I'm trying to make a custom dark mode stylesheet, and I started with Kuba's great DarkPackage. The issue is how to deal with text in panels (you can barely see the white-on-white text, unless you ...
4
votes
2answers
102 views

VoronoiMesh as a Graph

I want to draw the following graph using VoronoiMesh. For example, since ...
0
votes
0answers
22 views

Are there potential concerns with leaving a plot style blank, when plotting multiple curves?

Suppose I had the following command Plot[{x,x^2,x^3},{x,0,5}] If I wanted to apply a plot style to x and ...
7
votes
1answer
119 views

Quick way to preview and tweak styles?

I find the old stylesheet UI clunky and hard to use: FrontEndExecute @ FrontEndToken @ "EditStyleDefinitions" There's also the clunky style previewer as well: ...
9
votes
1answer
185 views

How to share stylesheets (with a preview)?

I have never understood how to easily generate an image preview for a given stylesheet. I also am unclear on how to easily share one. So I'm looking for an implementation or good 3rd party solution ...
1
vote
1answer
40 views

Combining Labled with LabelStyle

I try to add a Style to my Labled plot. However, when I combine Labled with Label Style, I do not succeed. ...
1
vote
2answers
256 views

Why do I get different symbols (a) with the same FontFace (Cambria Math)?

When I create an equation in MS Office, it uses Cambria Math, and I get the following when I use variable 'a'. When I try to use Mathematica to create graphics for my files, I can try to use ...
10
votes
3answers
756 views

Creating a Hexagonal Lattice with VoronoiMesh

I want to create a hexagonal lattice using VoronoiMesh. One can achieve that with the following code, where L=5, ...
1
vote
1answer
78 views

Dynamic Delimiter in Manipulate

Consider the following ...
6
votes
1answer
129 views

Grid Centring around Divider

Consider the following Grid ...
1
vote
1answer
75 views

Aligning Checkboxes in Manipulate

Consider the following code ...
2
votes
1answer
71 views

Colouring cells in a Voronoi mesh [closed]

Consider the following code ...
3
votes
1answer
84 views

How to change the font in LineLegend?

Is it possible to change the font in LineLegend? In fact, I need a mathematical font (like Times) in this part.
4
votes
1answer
80 views

Is it possible to get current thickness for every Line, Polygon, Circle object in a plot?

When exporting Mathematica graphics to raster formats with high resolution the common problem is that thickness for such objects as Line, ...
2
votes
1answer
139 views

Grid with equation numbers

Is it possible to have a grid with DisplayFormulaNumbered in mathematica journal stylesheet so i would have something like this
5
votes
1answer
124 views

All the group formatting available in Mathematica

I was wondering how many pre-defined group formatting style there is in Mathematica. From Format -> Style, one see that we can go from ...
0
votes
0answers
36 views

How to modify the horizontal ticks in a LogLinearPlot? [duplicate]

Using the following code, ...
2
votes
1answer
55 views

Is there a way to set the ItemNumbered to increment i instead of numbers?

I am trying to get a cell style like the following: i) ii) iii) instead of(if I can have both at the same time better): ...

1
2 3 4 5
7