Skip to main content
32 votes
Accepted

How to insert dimensions in graphics?

You could turn the dimensioning into a handy function: ...
wxffles's user avatar
  • 14.3k
32 votes
Accepted

How to create diagrams using Wolfram / Mathematica?

...
kglr's user avatar
  • 399k
21 votes

How to draw a "proper" tree diagram

It's a fussy solution, but it works. ...
Szabolcs's user avatar
  • 236k
20 votes
Accepted

How to draw a "proper" tree diagram

We can use TreePlot (GraphComputation`TreePlotLegacy in versions 12.0+) with the hidden option ...
kglr's user avatar
  • 399k
18 votes

Axes labels as multiples of $\pi$

I found the solution I was looking for at https://stackoverflow.com/questions/8936579/labeling-a-plot-in-increments-of-pi. example: ...
Teun Zijp's user avatar
  • 283
18 votes

How to create diagrams using Wolfram / Mathematica?

...
Nasser's user avatar
  • 149k
18 votes
Accepted

Obtain PlotLabel from Plot

Plot is returning a Graphics object, with the label specified in its Options. Retrieve the ...
Jason B.'s user avatar
  • 69.7k
18 votes
Accepted

How to properly use FrameLabel with the new PlotLayout feature?

You can use yet-to-be-documented options "ColumnLabels" and "RowLabels" as ...
kglr's user avatar
  • 399k
15 votes
Accepted

Text on a plane without Rasterize

Based on the comment by Szabolcs I came up with a solution. Here it is ...
Johu's user avatar
  • 4,968
14 votes
Accepted

How to show two or more non-overlapping label in a same position

Update: Using Kuba's nested Callout approach is more robust than the jittering approach in my original answer. The function ...
kglr's user avatar
  • 399k
14 votes
Accepted

Plotting cities with Callout labels on a globe?

Here are some of my attempts: (code for all versions can be found at the bottom of this answer) Your attempt First for comparison, your attempt (simplified to improve clarity): Labels further away ...
Lukas Lang's user avatar
  • 34.4k
14 votes
Accepted

How can I label a LogLog plot with the label on the graph/line?

You can use custom Arrowheads as the option setting for PlotStyle and post-process to replace ...
kglr's user avatar
  • 399k
13 votes

How to insert dimensions in graphics?

Here is my attempt: ...
Stratus's user avatar
  • 2,964
13 votes

How to label y-axis inversely

You can use the option ScalingFunctions to achieve what you want: ...
Carl Woll's user avatar
  • 131k
12 votes

Is there an option to change the space/distance between tick labels and axes labels for plots?

Another possible (partial) solution is adding negative space. This can be accomplished by putting the label in Framed and setting negative frame margins on one or ...
Szabolcs's user avatar
  • 236k
12 votes
Accepted

How can I add label for every function in plot?

Edit to add Labeled details You can use Callout for 'in-plot' labels, for example: ...
lowriniak's user avatar
  • 2,412
12 votes
Accepted

DensityPlot with text

I don't think that a density plot is ideal for achieving the image above. I'd us a different approach in this case. Let's start generating the data: ...
Fraccalo's user avatar
  • 6,107
12 votes

How to get axes labels with MultiaxisArrangement

For a workaround use Labeled ...
Bob Hanlon's user avatar
  • 161k
12 votes
Accepted

How to get better labels for this Graph?

...
kglr's user avatar
  • 399k
11 votes

Is there an option to change the space/distance between tick labels and axes labels for plots?

When using SciDraw, we have full control over all label positions. The key option names are variation on TextNudge. The value specified in this option will be ...
Szabolcs's user avatar
  • 236k
11 votes
Accepted

How to place PlotLabel inside the plot frame

Use scaled coordinates Scaled[{x,y}] for easier control. Scale runs $0<(x,y)<1$ independently of actual axes values, ...
Vitaliy Kaurov's user avatar
11 votes

Replicating a PlotStyle from Trees, Maps, and Theorems

Try the following: (if you don't understand what an option does, leave a comment - but please look in the documentation center first) ...
Lukas Lang's user avatar
  • 34.4k
11 votes

How do I rotate labels in a plot?

...
Bob Hanlon's user avatar
  • 161k
10 votes
Accepted

Can't get alignment to work in Labeled function

This is a syntax ambiguity arising from the allowance for this form: Labeled[Framed[{a, b, c, d}], {"Foo", "Bar"}, {Top, Left}] Instead you need: ...
Mr.Wizard's user avatar
  • 273k
10 votes
Accepted

Callout labels does not seem to work in multiple curves, why?

You can use this modification Callout[(Exp[-γ ρ^2] /. γ -> #), Style["γ=" <> ToString[#], Bold, Italic]]
Coolwater's user avatar
  • 20.4k
10 votes

Displaying two items in a graph's edge labels

An approach using a custom EdgeShapeFunction: The function eSF takes a Graph object (...
kglr's user avatar
  • 399k
10 votes
Accepted

How can I replace x-axis labels with pre-determined symbols?

This can be done using either Ticks if you're using axes or FrameTicks if you're using a frame on your plot. I made up a plot ...
MassDefect's user avatar
  • 10.2k
10 votes
Accepted

Is there a PlotLabels placement such as "Above Left" or "Below Right", etc.?

...
kglr's user avatar
  • 399k
10 votes

BoxWhiskerChart - how to show Quartile and other values

SeedRandom[1]; data = RandomVariate[NormalDistribution[], {2, 30}]; bwc = BoxWhiskerChart[data]; You can extract the tooltip labels from ...
kglr's user avatar
  • 399k
10 votes

How to remove the redundant ContourLabels

...
kglr's user avatar
  • 399k

Only top scored, non community-wiki answers of a minimum length are eligible