32
votes
Accepted
How to insert dimensions in graphics?
You could turn the dimensioning into a handy function:
...
32
votes
Accepted
21
votes
20
votes
Accepted
How to draw a "proper" tree diagram
We can use TreePlot (GraphComputation`TreePlotLegacy in versions 12.0+) with the hidden option ...
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:
...
18
votes
18
votes
Accepted
Obtain PlotLabel from Plot
Plot is returning a Graphics object, with the label specified in its Options. Retrieve the ...
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 ...
15
votes
Accepted
Text on a plane without Rasterize
Based on the comment by Szabolcs I came up with a solution. Here it is
...
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 ...
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
...
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 ...
13
votes
13
votes
How to label y-axis inversely
You can use the option ScalingFunctions to achieve what you want:
...
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 ...
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:
...
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:
...
12
votes
12
votes
Accepted
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 ...
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, ...
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)
...
11
votes
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:
...
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]]
10
votes
Displaying two items in a graph's edge labels
An approach using a custom EdgeShapeFunction:
The function eSF takes a Graph object (...
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 ...
10
votes
Accepted
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 ...
10
votes
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
labeling × 728plotting × 461
graphics × 118
legending × 68
charts × 61
graphs-and-networks × 59
ticks × 40
graphics3d × 39
style × 20
text × 19
output-formatting × 17
bugs × 16
list-manipulation × 15
formatting × 15
frame × 15
color × 14
visualization × 14
manipulate × 12
histograms × 12
grid-layouts × 11
export × 9
options × 9
date-and-time × 9
plot-themes × 9
labeled × 9