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
9 votes
1 answer
104 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 ...
user avatar
  • 14.3k
5 votes
1 answer
103 views

Style Does Not Work in ListLinePlot

The documentation indicates simple, consistent, and intuitive usage for wrappers in ListLinePlot and ListLinePlot3D. However, ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 823
3 votes
1 answer
88 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 ...
user avatar
2 votes
0 answers
34 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 "...
user avatar
  • 99
0 votes
0 answers
41 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 ...
user avatar
5 votes
1 answer
83 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 ...
user avatar
1 vote
0 answers
38 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 ...
user avatar
  • 145
2 votes
1 answer
54 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 ...
user avatar
  • 1,393
8 votes
1 answer
149 views

What is a numeric value of PlotStyle?

In the documentation of Plot, under Options / PlotTheme, there is this example: ...
user avatar
  • 1,685
0 votes
0 answers
63 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 ...
user avatar
3 votes
2 answers
62 views

Specifying Graph Edges Should Not Overlap Vertices

In the options for GraphPlot and related functions, it seems EdgeShapeFunction overwrites a ...
user avatar
5 votes
2 answers
68 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. ...
user avatar
  • 1,656
1 vote
1 answer
135 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: <...
user avatar
5 votes
1 answer
80 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 ...
user avatar
  • 281
3 votes
1 answer
65 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 ...
user avatar
  • 65
6 votes
4 answers
512 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\...
user avatar
1 vote
0 answers
65 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 ...
user avatar
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 ...
user avatar
  • 649
0 votes
0 answers
51 views

ListAnimate problem

Imagine I want to use ListAnimate on the follow list ...
user avatar
  • 4,138
1 vote
0 answers
71 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 ...
user avatar
  • 313
3 votes
1 answer
139 views

Magnification messing up styles

I have defined the following Input/Output styles in my stylesheet: ...
user avatar
  • 313
1 vote
0 answers
39 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 ...
user avatar
  • 99
29 votes
2 answers
526 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 ...
user avatar
  • 15.7k
2 votes
0 answers
81 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 ...
user avatar
  • 4,138
1 vote
0 answers
56 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], ...
user avatar
  • 75
3 votes
1 answer
79 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" ...
user avatar
2 votes
1 answer
114 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: ...
user avatar
  • 108k
9 votes
3 answers
306 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 ...
user avatar
  • 1,787
0 votes
0 answers
70 views

How to Shape Text?

Imagine I have a certain number 23819657294172004194219023914217958273128471531429470113 If I convert it to a string with ...
user avatar
  • 4,138
2 votes
1 answer
50 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: ...
user avatar
  • 1,787
5 votes
2 answers
177 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 ...
user avatar
  • 4,138
4 votes
1 answer
227 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 ...
user avatar
  • 4,138
5 votes
1 answer
279 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 ...
user avatar
  • 4,138
9 votes
3 answers
233 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: <...
user avatar
  • 3,720
2 votes
1 answer
68 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: ...
user avatar
2 votes
0 answers
87 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: ...
user avatar
  • 30.3k
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 ...
user avatar
11 votes
1 answer
246 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, ...
user avatar
  • 1,185
0 votes
0 answers
55 views

view linebreak symbol

As you see in the above example, In[294] and In[295] looks just the same, but the outputs are different. The fact is that there is no linebreak symbol in In[294], but there is one linebreak symbol in ...
user avatar
  • 2,451
4 votes
2 answers
130 views

Color that *imposes* transparency

Suppose I have a plot with a transparent background and I want to place a letter right on top of a curve. For clarity, I'd like to add an outline around the letter. The image below shows a white ...
user avatar
  • 1,406
1 vote
0 answers
45 views

Pie chart labels do not render properly

I am working on a project and this pie chart needs to have same-sized labels that emanate "radially" outward. There will be concentric charts outside this core with more information about ...
user avatar
  • 14.3k
14 votes
3 answers
882 views

How to make figures in a casual, old-fashioned style

I'm writing a math textbook and use Mathematica to make figures. However, like all modern software, Mathematica produces perfectly crisp mathematically accurate figures. Meanwhile, I feel that old-...
user avatar
  • 1,406
7 votes
2 answers
212 views

Imposing breaks in contours in a ContourPlot without rasterization

In this question, we are asked to compute breaks in the contours of a ContourPlot so as to place contour labels (values) atop the colored boundaries rather than the ...
user avatar
5 votes
1 answer
172 views

How to manually create gaps for the contour lines?

I'm wondering if there is any way to manually create gaps for the contour lines so that the contour labels can be put in the middle of these gaps. I try to make contour labels in the style like the ...
user avatar
  • 503
2 votes
2 answers
87 views

How to change the default color of the "joined" lines in BarChart function?

is there any way to change the default color of the joined lines in BarChart function? As the joined function turns on (i.e., Joined -> True), the joined lines are plotted automatically with the ...
user avatar
  • 503
2 votes
0 answers
85 views

Making Static Buttons

Is it possible to get a button that remains still when clicked? That is, it does not show the temporary pressed frames This also happens when I set ...
user avatar
  • 4,138
3 votes
2 answers
130 views

Centering a weirdly shaped grid

Consider the following grid ...
user avatar
  • 4,138
1 vote
1 answer
92 views

Changing Slider Style [duplicate]

Is there any option to customize the Slider tracker to an image or a Graphics object? What about simply changing its colour? For ...
user avatar
  • 4,138
1 vote
0 answers
41 views

Grid's automatic resizing

Imagine I have a dynamic opener that changes the number of rows. For example, ...
user avatar
  • 4,138

1
2 3 4 5
8