Linked Questions

3
votes
2answers
2k 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
62 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?
563
votes
19answers
142k 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 ...
61
votes
4answers
5k 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 ...
38
votes
6answers
23k 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
9k 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 ...
50
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 <...
26
votes
4answers
891 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 ...
34
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. ...
20
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 ...
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 ...
12
votes
3answers
2k 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 ...
9
votes
5answers
519 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 ...
15
votes
3answers
298 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
311 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
168 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 ...
6
votes
1answer
229 views

DensityPlot with equal mesh and a certain boundary

I would like to have a plot like the following: However, with my code: ...
4
votes
2answers
264 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 ...
2
votes
2answers
552 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, ...
7
votes
1answer
290 views

Plotting: Change colour scheme and line thickness at the same time

Some stylistic attributes of plots are independent of colour, e.g. thickness, dashing, etc. I can make the lines thick in this plot without having to specify a separate style for each line: ...
1
vote
1answer
474 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
352 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
2answers
73 views

Replacement Rule Line Thickness

I have a plot with imported data that I have used a replacement rule to make the data a line rather than individual points. However, I want to increase the thickness of that line. How do I do this? I ...
1
vote
1answer
78 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
76 views

What's the best way of setting global defaults for my Plots?

Obviously there are many ways to change the global settings, such as $PlotTheme or SetOptions[], but what I'm looking for is a ...
2
votes
1answer
46 views

Plot GridLines not displaying

GridLines not rendering. Tried changing Background to White and GridLines to Black to see if they render at all but they do not. How do I make GridLines render and can these PlotStyles and settings ...
2
votes
1answer
37 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), ...
0
votes
1answer
56 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
0answers
43 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. ...