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
8
votes
1answer
378 views

Customize ColorData function

I am trying to customize the color data ColorData["AvocadoColors"] I want to make color data function of the gradient starting from the green to the white ...
1
vote
2answers
76 views

How to pass arguments and options of a function when using Map?

Suppose I have a list in which I need to map a function to a list. Also suppose that function takes several arguments and even more options (such as styling). How would I pass all arguments and ...
0
votes
1answer
37 views

How to combine FontWeight option with Text[]?

Does anyone know how to combine the FontWeight option with Text[] items in Mathematica? It works fine with Style[], according the documentation. However when I feed this to Text[] (to then feed into ...
24
votes
2answers
3k views

Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 12.0 I'm trying to plot a graph wit a logarithmic y-axis. Since I'm exporting the graph to pdf and later printing it, I want to manually set the ...
4
votes
1answer
111 views

Error band in the legend

I want to plot multiple data sets having error bands with legends such that the style of error band is also reflected in the corresponding legend. So for e.g. let's say I have the following two data ...
11
votes
3answers
806 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, ...
0
votes
0answers
62 views

How can i change IDE color theme of Mathematica Wolfram?

I'm a new in mathematica wolfram, please help how can i change IDE colors theme's, text and background? I can't work with bright white screen? I use Mathematica 12.1. and want color theme like a ...
1
vote
1answer
48 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
2answers
44 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
35 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
45 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
1k 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
134 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
26 views
1
vote
0answers
45 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
40 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
34 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
30 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
65 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 ...
9
votes
0answers
172 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
87 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
522 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
194 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
156 views

Coloring multi-edges in graphs

I have the following edgelist and colors: ...
3
votes
4answers
217 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
248 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
56 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
591 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
64 views
7
votes
1answer
124 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
88 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
24 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 ...
2
votes
1answer
50 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
174 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
86 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
1answer
40 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
110 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
120 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
193 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
41 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
284 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 ...
1
vote
1answer
82 views

Dynamic Delimiter in Manipulate

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

Grid Centring around Divider

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

Aligning Checkboxes in Manipulate

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

Colouring cells in a Voronoi mesh [closed]

Consider the following code ...
3
votes
1answer
96 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.

1
2 3 4 5
7