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
1 answer
73 views

How to get a nice plot of the following region?

Consider the region ...
  • 5,102
0 votes
0 answers
31 views

How does cell style work with cell form?

I am writing some text in Mathematica that includes equations. I have an option for equation box by entering ctrl+( but it seems that is designed for inline math ...
  • 3,396
4 votes
1 answer
59 views

Make a list of letters of the alphabet, in random colors, with frames having random background colors

Style[#, Background -> RandomColor[], FontColor -> RandomColor[]] & /@ Framed /@ Alphabet[] This is the result I want This is the result I'm getting ...
  • 197
0 votes
1 answer
103 views

DropShadowing PlotStyle makes Plot trace pixelated on Cloud and Jupyter. Desktop too? Why? Fixes?

Both working on Wolfram Engine + Jupyter Notebooks or on Wolfram Cloud, I see pixelated traces and axes when using the new PlotStyle...
  • 35.2k
0 votes
1 answer
77 views

Why does font weight sometimes lighten in certain Input cells?

Why do font weights sometimes change in cells, where they evolve from a regular weight to a dimmer or lighter font weight? The notebook I have open is not heavy as it only has a few cells. Also, there ...
  • 2,337
1 vote
1 answer
82 views

How to check that a user-input of a list of CellObject-s actually belong to the EvaluationNotebook?

Suppose a user inputs a list of CellObject-s to operate on. How might one check these objects to determine if they actually belong to the ...
  • 2,337
2 votes
2 answers
119 views

ChangeCellStyle function works in one direction but not in reverse

This post is a continuation of an earlier Question, How to programmatically change CellStyle of all Cells from "Input" to "Code"? but with a ...
  • 2,337
1 vote
2 answers
75 views

How to extract arguments of color spaces and determine brightness of said colors?

The objective is to produce an automated theme with contrasting colors for EvaluationNotebook FontColor and ...
  • 2,337
2 votes
1 answer
35 views

How to change/specify BaseStyle size on $x$ and $y$ axes?

In the given code, how can I have different BaseStyle sizes on $x$ and $y$ axes? ...
  • 659
0 votes
0 answers
65 views

Map-ed programmatic Style-s (based on user-input) are not evaluating. Scoping constructs are suspected

The top function manages several sub-functions which set visual properties over a list of Options. Inside stylerules the ...
  • 2,337
1 vote
0 answers
50 views

What is the quickest way (minimum number of manual steps) to let some highlighted text appear as say Courier 12 pt regular?

What is the quickest way (minimum number of manual steps) to let some highlighted text appear as say Courier 12 pt regular? 1.) In Mathematica notebooks, I use a different font in explanatory text ...
2 votes
1 answer
56 views

How to show zoomed portion of MatrixPlot

I have the following code from a textbook: ...
0 votes
0 answers
29 views

How to pass styles arguments to Style from a wrapper function's argument?

The user-defined symbol styx works fine for style argument values of Automatic and ...
  • 2,337
2 votes
1 answer
43 views

How to style land and borders in GeoRegionValuePlot

I am trying to create a GeoRegionValuePlot-like graph with: Land coloured Red or Blue, depending on a numerical value. Thin black borders around the states. A white background, showing nothing but ...
0 votes
0 answers
23 views

How to get decorated and undecorated letters to have the same font in Graphics? V-12.0.0, Windows

With the default Stylesheet, executing the following code produces the output captured below Graphics[{Text["t=\!\(\*OverscriptBox[\(t\), \(_\)]\)"], Text["\!\(\*SubscriptBox[\(t\), \ \(\[...
0 votes
1 answer
47 views

Dynamically highlighting all substrings

I want to dynamically highlight all substrings that are equal to selected substring inside string str. Also I want the string str...
  • 5,915
2 votes
1 answer
68 views

How to set IntervalMarkersStyle differently for error bars in x and y directions

I would like to have the error bars in x and y directions rendered in different styles. I know how to style them both in the ...
  • 945
0 votes
0 answers
39 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
33 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
41 views

Styling of Grid so that each cell is a square

How to make each cell of Grid being a square? ...
  • 5,915
9 votes
2 answers
555 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 ...
  • 5,915
3 votes
2 answers
94 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
75 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,337
-2 votes
1 answer
58 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
110 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
183 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 ...
  • 28.5k
5 votes
1 answer
122 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
53 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 ...
  • 843
3 votes
1 answer
98 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
42 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 "...
  • 111
0 votes
0 answers
50 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
92 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
45 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 ...
  • 401
2 votes
1 answer
61 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,857
8 votes
1 answer
160 views

What is a numeric value of PlotStyle?

In the documentation of Plot, under Options / PlotTheme, there is this example: ...
  • 1,735
1 vote
0 answers
90 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
92 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
74 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,822
1 vote
1 answer
287 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: <...
  • 189
5 votes
1 answer
94 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 ...
  • 291
3 votes
1 answer
105 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
166 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
541 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
116 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 ...
  • 1,118
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
58 views

ListAnimate problem

Imagine I want to use ListAnimate on the follow list ...
  • 4,362
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
155 views

Magnification messing up styles

I have defined the following Input/Output styles in my stylesheet: ...
  • 323

1
2 3 4 5
9