Linked Questions

3
votes
2answers
1k views

Set thickness for frame, axes, plot globally [duplicate]

I have many ListPlot and ListLinePlot in my notebook. I each command I have added ...
1
vote
0answers
58 views

Custom named plot themes? [duplicate]

Is there a way for a user to define a custom named plot theme (in V11) and then see it show up as an option?
533
votes
19answers
133k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
59
votes
4answers
4k views

How do I evaluate only one step of an expression?

I am looking for a simple, robust way to evaluate an expression only one step, and return the result in a held form. The definition of a single step is ambiguous, and this itself is probably worthy ...
36
votes
6answers
21k views

Export Plots to $\LaTeX$

What is the quickest and best way to export a plot image from Mathematica to a $\LaTeX$ Editor? Is there something quicker than exporting it to an image and then including it in the $\LaTeX$ document?
44
votes
4answers
8k views

How to change the default ColorData used in Mathematica's Plot?

This question leads on from the recent question What are the standard colors for plots in Mathematica? There it was determined that the default color palette used by ...
47
votes
2answers
8k views

How to access new colour schemes in version 10?

Many colour schemes and colour functions can be accessed using ColorData. Version 10 introduced new default colour schemes, and a new customization option using <...
23
votes
4answers
728 views

SetOptions locally?

Is there a way to SetOptions locally? For example, I have a Module and inside it I am doing a lot of ...
19
votes
3answers
1k views

Custom functions by delegating options in a specific way and using core functions

I'd like to create a custom function that does essentially the same as a core function of mathematica but uses different default settings. Example: I want a Plot function that uses Mathematica's core ...
19
votes
3answers
5k views

How to get grid lines at all (log) tick marks in Version 10?

Bug introduced in 10.0.0 and fixed in 10.1.0 Update: It seems that only versions 10.0.0, 10.0.1, and 10.0.2 are affected by this problem. For 10.0.0 there is no general solution known to me due to ...
32
votes
2answers
2k views

Specifying non-conflicting PlotTheme options

A bug or limitation in 10.0.0 affects a few of these examples; it was resolved in 10.1.0. I am trying out Mathematica 10 on https://programming.wolframcloud.com. ...
9
votes
5answers
489 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 ...
12
votes
3answers
1k views

Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in ...
15
votes
3answers
274 views

How to specify custom graph styles for GraphStyle?

There is a way to specify custom themes for plots (Is it possible to define a new PlotTheme?), but themes do not apply to Graph objects, not even to ...
6
votes
2answers
1k views

Line style thickness differences between Mathematica 9 and 10

I execute the same code in Mathematica 9 and MAthematica 10, and have this different results. ...
5
votes
3answers
280 views

globally turn off plot markers for `ListLinePlot` under “Monochrome” theme

Choosing the "Monochrome" theme surprisingly (bug?) adds plot markers to ListLinePlot. I would like to turn this off globally. (Specifically, I want to set ...
5
votes
3answers
166 views

Why does `Block` reset `Attributes`?

Not even "formal symbols" such as \[FormalX] are guaranteed to always be symbolic. Their Protected argument is forgotten when ...
4
votes
2answers
236 views

Extracting Color Options from BarChart

I would like to extract the colors (i.e., obtain RGBColor[] or other full specification) of the different colors used in a bar chart such as this ...
6
votes
1answer
137 views

DensityPlot with equal mesh and a certain boundary

I would like to have a plot like the following: However, with my code: ...
2
votes
2answers
401 views

Shading a sector of a polar graph

This explains how to shade a region between two polar graphs. Unfortunately my mathematica-fu is too weak to see how it would be used to shade one sector of a single polar graph. Any suggestions, ...
1
vote
1answer
374 views

default color scheme in `Histogram` in version 10 [duplicate]

I need to use the default scheme of Histogram in version 10 but cannot get this information. I know the default scheme used in ...
9
votes
1answer
276 views

Override a PlotTheme element at the Options level?

Edit: I am still using version 10.1; has anything changed by 11.0.1? Plot properties defined in a Theme override (supersede) properties defined on Options. This ...
1
vote
1answer
65 views

Assign Plot options

Is it possible to assign a couple of Plot options like e.g. Frame -> True, PlotRange -> All, ImageSize -> 500 to a ...
0
votes
1answer
54 views

Better automatic style selection for many distinct series in one plot?

The default style selection of ListLinePlot makes it hard to tell things apart, is there some easy way to apply a better (automatically chosen) set of distinct ...
2
votes
1answer
28 views

easy modification of existing theme

For the most part, the "Monochrome" theme is useful. However the default inclusion of plot markers in a ListLinePlot was imo a horrible mistake (a design bug), ...
2
votes
0answers
39 views

Graphics options defined as a set [duplicate]

I need to use almost the same options for several graphics, and would like to simplify the code which is becoming pretty large. The example below should work, but it doesn't for a reason I don't see. ...