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
0 votes
0 answers
38 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
31 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 ...
3 votes
1 answer
36 views

Styling of Grid so that each cell is a square

How to make each cell of Grid being a square? ...
  • 3,840
9 votes
2 answers
525 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 ...
  • 3,840
3 votes
2 answers
86 views

Left, center, and right justification within a single cell

I can write a cell with the text alignment on the right: ...
3 votes
0 answers
72 views

Need to confirm bug in Dataset options before I submit report to wolfram

I need to know if I need to submit a bug report. I finally got my HeaderSize the way I want it but I had fudge it. It gives the correct widths but does this look ...
  • 2,009
-2 votes
1 answer
57 views

How can the Style of one dataset be applied to another data set for plotting

I have a data set that must be plotted using BarChart, and I would like to format the color based on another dataset's style. For Example: ...
-1 votes
1 answer
85 views

How to apply the style of one set of data to another set of data? [closed]

I have a data set that must be plotted using BarChart, and I would like to format the color based on another dataset's style. For Example: ...
3 votes
3 answers
97 views

TemperatureMap Background of Dataset Cells based on their Value

I have a dataset with normal numbers (either integers or real) and I would like to visualize the dataset in a table where, for every row a colormap shows the ranking of the numbers from Min (blue) to ...
  • 129
12 votes
2 answers
164 views

Applying Style to Around objects

How do I apply Style to Around objects? Are there any workarounds, resource functions or custom solutions available? Thanks for ...
  • 19.2k
5 votes
1 answer
118 views

Style Does Not Work in ListLinePlot

The documentation indicates simple, consistent, and intuitive usage for wrappers in ListLinePlot and ListLinePlot3D. However, ...
0 votes
0 answers
35 views

SubscriptBox Text font in Graphics[Text[Style["..."]]]

In this code in Graphics and Text Style, Graphics[Text[ Style["!(N_b)\n U(1!(*SubscriptBox[()), (V)])"]]] I obtain the $V$ in italic font, but I wanted ...
  • 823
3 votes
1 answer
94 views

How to separate frameticks from the vertical axis?

I'm trying to separate frame ticks from the vertical axes and so far I've found a solution to that end by adding the following command inside the "Plot" main command ...
2 votes
0 answers
39 views

Filling with White Color

I am trying to fill multiple curves with different colors. For the purpose I have, I need to exclude some regions from shading. After searching, I realized that I can fill those regions with "...
  • 99
0 votes
0 answers
46 views

Preserving Automatic PlotMarker Styles in Plots

I am looking to preserve, or and least find out, the automatic color settings for PlotMarkers in plot-related functions. My problem can be observed by comparing the ...
5 votes
1 answer
85 views

Understanding Conflict Between Data Wrappers, Graphics Directives, and Options for Plots

I have two related questions. First, I am trying to find out what ways I can change a single point in a plot using data wrappers that are not overwritten by other plot options (like ...
1 vote
0 answers
44 views

Stylesheet Directives for DisplayFormular overwritten?

I'm trying to change the font of DisplayFormula, DisplayFormulaNumbered and InlineFormula in my stylesheet. So in the options inspector of the stylesheet under ...
  • 319
2 votes
1 answer
58 views

PercentForm in SetterBar Labels

I want to have the numbers that a SetterBar displays for the user to select to appear as percentages. For example, the following code should have percentages not ...
  • 1,680
8 votes
1 answer
157 views

What is a numeric value of PlotStyle?

In the documentation of Plot, under Options / PlotTheme, there is this example: ...
  • 1,715
1 vote
0 answers
77 views

How to control PlotLabels callout style?

When I work on a dark background (e.g. using Format > Stylesheet > ReverseColor) , some of the subtle stylings are not to my taste. A simple example can be reproduced (without changing the ...
3 votes
2 answers
74 views

Specifying Graph Edges Should Not Overlap Vertices

In the options for GraphPlot and related functions, it seems EdgeShapeFunction overwrites a ...
5 votes
2 answers
70 views

How to check if CapForm is set by default in the plot?

In this plot it seems like the CapForm["Square"] is set by default. ...
  • 2,484
1 vote
1 answer
190 views

Greek letters appearance in graphics

Why does the Greek Letter "ν" with esc+n+esc turn into the English letter "v" when used in graphics e.g. labeling a frame? Is there any solution to this, please? Thanks! Example: <...
  • 125
5 votes
1 answer
89 views

Plot3D: Inconsistent distance to PlotLabel when using Grid/Row

While trying to arrange a grid of 3d-plots using Plot3D and GraphicsGrid (or simply Grid) I ...
  • 281
3 votes
1 answer
80 views

Changing the line width in the Legends

I have changed the width of the plots in my code but whenever I save it as a pdf file, it appears that the legend specifying each plot has a thin width as compared to the lines in the plot. Following ...
  • 65
5 votes
2 answers
163 views

Marking day versus night in DateListPlot

I would like to mark the periods of day versus night on a DateListPlot (and associated plots) by light gray regions for the night. Here's a minimal example that ...
6 votes
4 answers
524 views

How to scale the parenthesis like how the LaTeX \left \right commands do?

I am trying to use Graphics[Text[]] to label some curves on a plot. However, I cannot format the text properly. I want my text to look like this $$F= \left(\dfrac{2\...
1 vote
0 answers
67 views

Stuck for 3 days on Wolframs Intro - Help! [closed]

I've been going through Wolfram's elementary introduction and solved every problem but have been stuck on this one for 3 days. I must be thinking wrong. I'd appreciate a hint. Use Part to make a list ...
7 votes
1 answer
95 views

How to change TreeForm style?

I use t = ArrayReshape[Range@12, {2, 2, 3}]; t // TreeForm get "TreeForm" ,like this I want to make a change to the "TreeForm",like this: I ...
0 votes
0 answers
54 views

How to get this type of presentation of question here on forum

I am struggling with the presentation of my questions on to how post here on this forum I do see here a example question Evaluation of this definite integral How to get a picture for instance for a ...
  • 659
0 votes
0 answers
54 views

ListAnimate problem

Imagine I want to use ListAnimate on the follow list ...
  • 4,388
1 vote
0 answers
74 views

Buggy EvaluationUnmatchedStyle for backgrounds with opacity

The EvaluationUnmatchedStyle option of PrivateCellOptions was introduced in v10, wherein any time input is changed, the corresponding output dims to signify that ...
  • 323
3 votes
1 answer
149 views

Magnification messing up styles

I have defined the following Input/Output styles in my stylesheet: ...
  • 323
1 vote
0 answers
49 views

How to label a contour in ContourPlot with arbitrary text

I want to put a label on a contour in the ContourPlot with a text, but I can not do it. I have read all questions about this issue in the slack, but I could not find an answer to it. Let say, I want ...
  • 99
29 votes
2 answers
591 views

Writing a technical note in Mathematica

I have been using Mathematica for many years, mostly for plotting, derivations and numerical computations. Many times I tried to incorporate some text and formulas in my worksheets. Text is Ok, but ...
  • 16.3k
2 votes
0 answers
100 views

How to write on a surface?

How do I include text on a curved surface? For example, and as a starting point, how can I reproduce the following image I've seen some examples where people geometrically described letters to do ...
  • 4,388
1 vote
0 answers
76 views

How can I make my plot like this plot style picture [closed]

I would like to have all of my plots like this picture here, How I should add such as PlotStyle -> , PlotTheme -> and AxesLabel -> etc,.. I would like to see for this example Sin[x], Sin[2x], ...
  • 75
3 votes
1 answer
85 views

Is it possible to substitute one style with another via Stylesheet?

When thinking on the question How to programmatically change CellStyle of all Cells from "Input" to "Code"? it crossed my mind that it may be possible to "intercept" ...
2 votes
1 answer
121 views

Is this a known issue in 12.3.1 with GridLinesStyle with Dashed option not working?

Update Dec 7, 2021. Reported to WRI. A support case was created with the ID [CASE:4883278]. According to help But the above no longer works in 12.3.1 (windows 10) Code: ...
  • 116k
9 votes
3 answers
361 views

How to programmatically change CellStyle of all Cells from "Input" to "Code"?

I have a special notebook styled for only creating functions and their packages. I often lazily do Evaluate Notebook instead of finding and opening all cells I need ...
  • 2,009
0 votes
0 answers
74 views

How to Shape Text?

Imagine I have a certain number 23819657294172004194219023914217958273128471531429470113 If I convert it to a string with ...
  • 4,388
2 votes
1 answer
52 views

Why is Style ignored in my custom Echo error function?

To highlight the type of error that occurred the function echoError (via err) should display type of error in color: ...
  • 2,009
6 votes
2 answers
202 views

Music animations

I've been tempted to use Mathematica to create some artistic musical animations. That is, if I have a music file, I want to be able to edit, for example, its waveform animation. For example, get ...
  • 4,388
4 votes
1 answer
228 views

Writing a document-like Text

Imagine I have the following code Graphics[{LightBlue, Rectangle[], Black, Text["Hello", {.1, .9}]}] If I had more text to the ...
  • 4,388
5 votes
1 answer
393 views

How to make this Box Plot

I want to mimic the following style (not necessarily the same data) So far, I got the following ...
  • 4,388
9 votes
3 answers
241 views

How to make callouts match the color of their target items?

How to make callouts in a bubble chart in the same style as below? Specifically, I'd like to know how to make the callout stems match their target bubble colors (automatically). What I've tried: <...
  • 3,531
2 votes
1 answer
69 views

Apply Style to the letters according to the specifications

Apply Style to the letters A, B , C and D according to the specifications listed below. The number represents the font size and the color represents the font color. (Hint: Use Apply.) Input: ...
2 votes
0 answers
88 views

Realtime background blur

Is it possible to have partially transparent cells (attached or docked) with live background blur? Something like this: Here's what I've tried: ...
  • 30.8k
2 votes
1 answer
68 views

What is the simplest way to get "Input" appearance in the legend?

I wish to get the complete "Input" appearance of the contents of the legend on my plot: the font, its style, and syntax highlighting should be the same as ...
11 votes
1 answer
260 views

Mathematica 12.3.1 CapForm does not work with ContourStyle anymore?

Just upgraded to 12.3.1 from 12.1. In 12.3.1, ...
  • 1,185

1
2 3 4 5
8