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
1
vote
3answers
29 views

Highlight largest value in each column of `Table // TableForm`

I am exploring colossally abundant numbers; in particular the set of specific 'critical epsilon values'. I table the function DivisorSigma[1, n]/n^(1 + \[Epsilon]) ...
2
votes
1answer
40 views

Repeat PlotStyle for different functions [closed]

I am trying to plot a helicoid using Plot3D. I would like all the functions that make it up to appear the same. I am curious if there is a way I can do that ...
8
votes
1answer
65 views

How to fine tune the style of IntervalMarkers -> “Bands”?

In Mathematica 12 I can use ListPlot to visualize uncertainty of tabulated data as bands. For example: ...
5
votes
1answer
83 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 ...
10
votes
1answer
175 views

How to emulate LaTeX Theorem environment with a Mathematica Style?

( This has probably been asked before, but I found no Q/A's ) ( Update: Changed Title 28/6 ) Mathematica has the Style 'DisplayFormulaNumbered', I want to find / create something like 'TextNumbered' (...
0
votes
1answer
50 views

Specify position of button

This might go against the spirit of Mathematica, but I would like to create the button, but I do not want that button to be grouped with the code that generated it. In fact, the code that generates it ...
2
votes
0answers
35 views

How to undo “do this for all notebooks” when offered 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 ...
2
votes
1answer
71 views

How to Print[“x=”,x] with Style? [closed]

How to Print a text and a value with the same Style?, for example {Bold, Blue, 22} a=4 Style["The number is ", a , Blue, 22] ...
2
votes
3answers
127 views

How do I display multiple objects on one output line?

I am using WriteString to avoid automatic line change. But it seems like the it does not work with Style, like the following <...
0
votes
1answer
51 views

Automatic indentation of text and equations depending on Style

I have a rule when writing text and equations. Starting from the Section environment, each text/equation that sits inside Section...
0
votes
0answers
26 views

How to graph a text as a function of some arbitrary parameters?

I'm trying to graph a text in a couple of plots I have. I want to be able to edit the text depending on the values I choose (rho0, zp, zm, temp, ion, and perm) and show them at some point in my plot (...
5
votes
1answer
95 views

What happened to the Style 'Subchapter' in Mathematica 12.0?

The Style 'Subchapter' is no longer available in the Style Menu in Mathematica 12.0. Is it somewhere hidden perhaps? I want to continue styling notebooks as I did in Mma 11.3 and before. Any ...
0
votes
1answer
78 views

Plot3D and PlotStyle in v12

I'm plotting a surface with Plot3D, and I'm using PlotStyle -> Opacity[0.8] to get a little transparency. Unfortunately, this option seems to be getting pushed ...
4
votes
2answers
130 views

How do I add into a text cell a reference to a numbered function?

I have a document with lots of numbered equations in their own cells (which I numbered through Format->Style->DisplayFormulaNumbered). I also have lots of ...
1
vote
1answer
58 views

Coloring edges by weight and changing color but keeping shape for CommunityGraphPlot using PlotTheme->“Marketing”

(Apologies, but I cannot share the data that I am using for these graphs.) I am finding communities in my data set by using CommunityGraphPlot, and the results looks pretty good: ...
1
vote
1answer
40 views

ErrorListPlot with a different color for each element of the list

I would like to plot a list with ErrorListPlot but each dot with a different color like the example in the ListPlot's documentation : ...
1
vote
1answer
83 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 ...
4
votes
1answer
78 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 ...
2
votes
2answers
134 views

Distance between axes and tick labels

A similar question has been axed before in the context of a Framed plot: see here. My plot is unframed so I wasn't able to apply the answer to the other question. I create a histogram with the code ...
3
votes
2answers
116 views

Print integer number fraction as string of numerator and denominator

I want to convert an integer number fraction as text with a certain font, size and color: Example: ...
1
vote
0answers
35 views

Generic symbols vs Generic functions arguments [closed]

I've got a lot recursion relation that takes multiple hours at a time to run. I'm looking for some subtle reasons why it takes so long, and hoping to be able to reduce the time it takes for the more ...
2
votes
2answers
72 views

Grouping of BarChart and BarChart labels

Thanks to m_goldberg remarks here, the following BarChart was obtained: ...
2
votes
1answer
74 views

Correct my use of BarChart labels

I need to make a good bar chart based on the table below (the number of nodes with its probability of falling correspond to each OF): Thanks to kglr I got the necessary BarChart: ...
3
votes
1answer
193 views

Limited line style for differentiating curves in the plot

Question 1 I have a plot which consists of six curves, and I wanted to differentiate these line without using any color. I the only option that I left with is to use different line style. After ...
5
votes
1answer
62 views

How to not show line mesh elements

Let's say I make a mesh from a collection of random points: SeedRandom[1234] points = RandomReal[1, {20, 2}]; mesh = VoronoiMesh[points] For the purposes of my ...
8
votes
0answers
45 views

Styles inheritance stack for elements of a Graphics/GraphicsBox

You can skip to the bottom if you only care about the question. My original goal was to control FrameLabel color from a notebook level opposed to doing it ...
0
votes
2answers
103 views

ParametricPlot table of complex functions in several graphs

Assume that I have a table of complex functions like Clear[p] Clear[M] M = 10; G = Table[Sin[i p] + p I, {i, M}] I want to ParametricPlot them in graphs, each ...
1
vote
1answer
81 views

Adding color and opacity to 2D scalar function with respect to its abolute value?

I'm trying to represent the absolute density of a 2-variable scalar function by color and tranparency/opacity. By absolute denstiy, I mean the absolute function value. I tried to do the coloring as ...
1
vote
2answers
36 views

Coloring ParametricPlot of several complex functions

I want to PlotLegends -> "Expressions" for G with different colors where G = {{Sqrt[1 - x] + I Sqrt[x]}, {Sqrt[1 - x] - I Sqrt[x]}} I tried the following ...
5
votes
3answers
514 views

can't blend gradient colors with a stream

The following function generates a plot of the 3d function indicated in the example. ...
1
vote
0answers
52 views

Is there a good strategy or method to produce “cascading” styles?

I want to write a theorem in form of group of cells in a notebook. I want all the cells within the theorem grouping have the same styling such as background color, text font, etc. I would also like ...
2
votes
1answer
45 views

Can I prevent changing the background color from changing the cell spacing?

The first image shows what my list of items looks like with no background color. The second shows what setting the background color to light green does to the cell spacing. That is not what I want. ...
8
votes
1answer
106 views

How to add inner ticks to a PieChart?

I know how to add Callouts to the outside of a PieChart, but I would like to add inner ticks like this: Note the 3, 6, 9, 12 ...
1
vote
1answer
120 views

Coloring multi-edges in graphs

I have the following edgelist and colors: ...
7
votes
2answers
183 views

Weighted graph with multiple different coloured non-weighted paths - styling

This follows on from my previous question answered here. Ultimately, I now have a graph which I've simplified for posting here: ...
2
votes
1answer
74 views

Adding overlapping non-weighted, directed edges to a weighted, undirected graph

I have the following Mathematica code based on the GDB1 instance from the CARP literature: ...
1
vote
0answers
39 views

Axes position and axes label in RevolutionPlot [duplicate]

Consider Revolution plot: ...
2
votes
2answers
80 views

How to automate creation of sections in mathematica worksheets?

I want to do a for loop to compute some values, create a new (sub-)section and print those values there within each iteration. How would it be possible?
0
votes
0answers
25 views

Labels on 2D ListPlot Markers [duplicate]

If we take the example ListPlot[{{1.5, 2}, {1, -2}, {2.5, 6}, {3, -5}} -> {"a", "b", "c", "d"}] I would to see the labels correctly correspond to the 2D ...
1
vote
2answers
101 views

Change distance between vertical y-axis label and plot

I'm trying to do something that should be fairly straightforward: having a vertical y-axis label. My problem is, it creates a ridiculously large space between the label and the axis (exactly what I'm ...
0
votes
3answers
534 views

Changing error bars color

I have the following plot ...
1
vote
1answer
47 views

How to add boundaries for the points of a ListPlot?

I have a plot as below: ListPlot[{{{1, 5}}, {{4, 2}}}, PlotStyle -> {{Red, PointSize[0.03]}, {Green, PointSize[0.03]}}, PlotRange -> {{0, 5}, {0, 6}}] I ...
3
votes
1answer
83 views

How can I use the help document style?

I have spent a lot of time looking for this information on the Internet。Unfortunately,I can not find it。Please help me。Thank you,Thank you。 (I do not how to describe this question。May god forgive me ...
0
votes
1answer
95 views

Graph (network) styling: avoid vertices and edges overlapping

Is there a way to avoid the edges and vertices 'overlapping' in a graph with custom styling? That is, the edges should stop once they reach the 'border' of the shape representing the vertex (in this ...
0
votes
2answers
63 views

How to make the legend with color more compact in a plot?

I have a plot as below:- ...
1
vote
0answers
21 views

Match axes lengths of two plots? [duplicate]

Consider the two plots ...
4
votes
0answers
64 views

Highlight selected text everywhere?

Notebook++ has a very useful feature which highlights all occurrences of certain text once it has been selected with the mouse cursor in one spot: It is very useful in order to jump between different ...
0
votes
1answer
38 views

Adding Legends in the plot, aligned in a row

How can I add the legend in a plot, INSIDE the plot (as in the figure below), but in a way that they are arranged in row and not in column? What I have done so far: ...
9
votes
5answers
470 views

Replicating a PlotStyle from Trees, Maps, and Theorems

How might I make a plot with this style, where the callouts are on the side and the y-axes chopped off for a minimal look? Here's some example data with the callout that I'd like to add, but I'm not ...
3
votes
1answer
48 views

Make size of ListPolarPlot with PolarAxes consistent

I am currently having an issue with ListPolarPlot, specifically with achieving a consistent size among multiple plots. Consider the following illustration of my ...