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.2k
30 votes
Accepted

How to create Diagrams using Wolfram / Mathematica?

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

How to draw a "proper" tree diagram

It's a fussy solution, but it works. ...
Szabolcs's user avatar
  • 235k
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
  • 397k
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
  • 145k
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
  • 68.8k
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
  • 397k
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,948
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
  • 397k
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.1k
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
  • 397k
13 votes

How to insert dimensions in graphics?

Here is my attempt: ...
Stratus's user avatar
  • 2,954
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
  • 235k
12 votes
Accepted

Plot3D producing wrong axis labels

This is a minor bug, acknowledged by WRI and present as of v10.4. The problem is that for Plot3D the required syntax for AxesLabel is a list with three entries ...
Emilio Pisanty's user avatar
12 votes

How to change font size of axes labels without affecting everything else in a framed plot

Example Description Use Style to format the text. I also didn't include the output of your LogPlot due to being unaware of ...
e.doroskevic's user avatar
  • 5,969
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

How to get axes labels with MultiaxisArrangement

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

How to get better labels for this Graph?

...
kglr's user avatar
  • 397k
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
  • 235k
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.1k
11 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,057
11 votes

How do I rotate labels in a plot?

...
Bob Hanlon's user avatar
  • 159k
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
  • 272k
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.3k
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
  • 397k
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.1k
10 votes
Accepted

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

...
kglr's user avatar
  • 397k

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