Questions tagged [labeling]
Questions related to displaying identifiable labels in graphics or any other expressions, such as in AxesLabel and Labeled. Not to be confused with Goto-Label.
398
questions
2
votes
2answers
2k views
2
votes
6answers
3k views
Converting CSV data to a Dataset
I have data in a csv file. The first row has labels, and the first column, too.
Datos = Import["C:\\Users\\jodom\\Desktop\\Data.csv"]
Tha data in the csv file is ...
2
votes
3answers
251 views
Applying Labeled Option to Multiple Options
First post. Hope it's not ignorant. I am trying to label several data points so I can label them properly on a ListLinePlot. I know I can label plots if I am ...
2
votes
1answer
3k views
2
votes
2answers
57 views
No difference between TraditionalForm and StandardForm in Graph labels
TraditionalForm seems not to be working properly on Mathematica 11.3 when used in Graph. The following MWE
...
2
votes
1answer
221 views
How can I replace x-axis labels with pre-determined symbols? [closed]
I want to take a simple plot and change the x-axis so it appears to be measured in terms of certain symbols that are used in the physics literature. See the image below for an example.
I will ...
2
votes
1answer
98 views
How can I remove extra parentheses in a plot callout?
This question is motivated by this question and its answers.
Firstly, I wish to display "O(x)" instead of "x" as the callout labels. When I do this
...
2
votes
2answers
500 views
2
votes
1answer
11k views
How to change font size of axes labels without affecting everything else in a framed plot
I have a plot expression that looks something like this:
...
2
votes
2answers
992 views
Convert a number to a string to use in plot axes label, but keep the exponent
This seems to be a simple, but useful question.
I am plotting a basic function:
...
2
votes
2answers
975 views
Labeling a Plot with a Slash for Division Sign
I'm trying to label a 2D plot with something like $A/B$ rather than $\frac{A}{B}$. I have tried:
Plot[Sin[x], {x, 0, 10}, AxesLabel -> {HoldForm[A/B], y}]
...
2
votes
3answers
222 views
How to stop text with sub/superscript and fraction in FrameLabel from being Italic?
The objective is to use a Roman (i.e., non-italic) font in FrameLabel.
Consider this
...
2
votes
3answers
116 views
How to make a list (of data points) whose name is the same as the file name from which the data is imported [duplicate]
I have a set of files, e.g. file1.dat, file2.dat,...
containing data (list of data points to plot, manipulate...)
I want to do the following
...
2
votes
2answers
1k views
Customizing individual labels in a pie chart
How do you individually rotate labels on a pie chart? For example, I have this chart detailing money composition.
...
2
votes
1answer
975 views
Label x-axis of Plot with power of two values
I want to make a plot similar to LogLinearPlot, but with power of 2 ticks instead of 10 on x axis.
...
2
votes
3answers
4k views
ListLinePlot x-axis units label
If I want to label the $x$-axis of a ListLinePlot , how do I do that?
There are two types of label:
a units label which would go to the right of the axis,
and ...
2
votes
2answers
71 views
Labeling a plot point under the axis
This works well:
Plot[x, {x, 0, 1}, Epilog -> Text[1/2, {1/2, 0.1}]]
This doesn't (the "1/2" label is not visible):
...
2
votes
1answer
62 views
Callout mystery
I have this function:
de[a_, x_] = -1 + (E^-x x^a)/((-a + x) Gamma[a, x]);
When I do
...
2
votes
1answer
96 views
Rotating label in BarChart
I have created a bar chart, but I have some issues with the labeling of the sample in X-axis.
May I seek help to find out how can I rotate the label in the X-axis direction. Appreciate the help. ...
2
votes
1answer
82 views
Is there a way i can plot a function and add a description of each one of its values?
Hello i would like to recreate the image i am showing. I can plot the wave equation and i can add the dashed lines for plus minus A. Is there an easy way to add the "tags" to show what what A, phi, ...
2
votes
2answers
3k views
How to rotate AxesLabel
i was wondering how it is possible to rotate the axesLabel of a Plot in Mathematica. Specifically i want to rotate the Label of the Y-Axis so that it shows up next to the axes to use up less space. ...
2
votes
1answer
519 views
Plot a curve on a lattice
How do I plot a 2d curve and label lattice points to one side of it?
I want to plot the curve $f[x]=\frac{1}{x}$, and draw a solid red dot at every lattice point in the following set:
$$\{(m,n)\in \...
2
votes
1answer
1k views
Change numerical plot labels on one axis to strings
This question likely has a straightforward answer.
Suppose I have a plot something like this:
...
2
votes
1answer
112 views
Methods for producting alternating TickLabels in a Plot?
I am producing a plot with alternating TickLabels. Here is a MWE:
...
2
votes
1answer
160 views
How to label vertices in a grid with random integers?
I would like to assign each vertex a random number with the minimum bound equal to the smallest vertex and the maximum equal to the value of the largest without repeats.
For example, in a 20x20 grid, ...
2
votes
1answer
126 views
Plot multiple lines with colour and legends [duplicate]
Function of interest:
f[n_, r_] := (1 - r^2)^((n - 4)/2)/(Beta[1/2, (n - 2)/2])
In separate graphs:
...
2
votes
1answer
104 views
Adjust labels in SectorChart
This is probably easy to solve, but I can't figure out how. I have a SectorChartlike this:
...
2
votes
1answer
155 views
How would one add a Line between a ListPlot data point and a Label per Simon Woods solution
In a previous answer posted by Simon Woods on the question of how to automatically locate non-overlapping labels to data shown in a ListPlot; see below:
Using this as the as a starting point from the ...
2
votes
2answers
288 views
Chart labels overlap with error bars using the Above function, How can I move the labels slightly more above?
I need a combination of these two charts. I also cannot seem to get the labels "Above" the bars "Above" enough. They run into the error bars. When I added the counts (n = 1), the horizontal ...
2
votes
2answers
188 views
How to set point labels in a scatter plot?
How to type each label in the upper right position? For example adding {0.25,0.25} to each point.
...
2
votes
1answer
177 views
Control units of time series data for plot axis labeling [closed]
Using Mathmatica time series data:
...
2
votes
1answer
308 views
How to group box-and-whisker in parallel for comparison in BoxWhiskerChart?
I have two collections of data: xdata and ydata
...
2
votes
2answers
7k views
Font size in PlotLegends, using Table to generate the list in the legend
I am currently trying to get to graph with several functions as below. My problem is that I cannot change the font size in the legend (authomatically generated numbers by "Table" function). This code ...
2
votes
1answer
26 views
How to show self-defined function on date in the “Appearance -> Labeled” of Manipulate?
I have a plot as below:-
Manipulate[Plot[Sin[x*t/40000], {x, -6.6, 6.6}], {t, 30000, 40000, Appearance -> "Labeled"}]
The t...
2
votes
2answers
72 views
Add numeric label to each box in grouped BoxWhiskerChart
I would like to add a numeric label below each box in a grouped BoxWhiskerChart. I know how to do this in the ungrouped case, but cannot for the grouped case.
For example, the following generates ...
2
votes
1answer
315 views
Problem in labeling edges of graphs
I am having problems in trying to label a graph containing mixed edges (directed and undirected edges). The simplest demonstration is based on an example in the documentation for ...
2
votes
1answer
591 views
Frame plot axis labels: superscripts and subscripts in italic and non-italic
I want to make nice plot labels with framed plot.
I need to have labels with both subscripts and superscripts, both of which need to contain italic and non-italic characters.
For example $a_{b, c}^{...
2
votes
1answer
196 views
Putting label on other side in TimelinePlot
How to put the label on the other side of the interval.
For instance in the following code, how to push the label End on the other hand.
...
2
votes
2answers
2k views
Fix the position of the axes label [duplicate]
How can I set the position of the axes labels (X,Y,Z), so that, among other things, they do not overlap with the numbers in the axes? Here an easy example:
...
2
votes
1answer
227 views
2
votes
1answer
30 views
How do I use Labeled with ErrorListPlot?
Consider the following simple example of using ListPlot with Labeled data:
...
2
votes
2answers
35 views
Display labels at the bottom and as a column in a ParametricPlot3D
I would like to display the labels of a 3D plot (made of many subplots) as a column at the bottom of the plot. I managed to put them at the bottom, thanks to the option ...
2
votes
1answer
56 views
2
votes
3answers
2k views
Labeled plot in Show method
I want to combine a few LisPlots in one Plot, but since all values are negative and there is no positive y-Axis, it looks weird, if th y-axis label is on the edge(you dont know where the label belongs ...
2
votes
1answer
121 views
Translate Tick Marks
The code below creates a StreamPlot for a nonlinear system of first-order ODEs:
$\dot{x}=y,\dot{y}=x+\tfrac{1}{4}x^{2}$
I have created a simple zoom slider that expands the region about the critical ...
2
votes
2answers
103 views
2
votes
1answer
639 views
Want to label vertices of a graph and manually move them around
I would like to plot a graph in such a way that
The vertices are labeled using labels that I've given them, rather than just their number,
I can manually move the vertices around.
In the code ...
2
votes
1answer
125 views
How to put Labels in of a list of number in a chart?
I can´t put the labels 0,....,31 in this simple chart
on the usual place, or better just over the Top of each bar
How should I do?
...
2
votes
1answer
60 views
BarLegend and ContourLabels in ContourPlot
I have tried to manage my problem with the rich literature on this site, but I am failing...
I want to roughly reproduce this plot from a paper I am interested in:
What I've tried to do is the ...
2
votes
1answer
52 views
Labeling points in GeoGraphics
I have the following code for labeling certain points at different latitude-longitude locations across the US stored in USLatLong.
...