Tagged Questions
6
votes
1answer
89 views
Pgfplots: Drawing Arrows Along Contour Plots
I would like to draw "stealth" arrows in place of the "0" labels along the trajectory in the phase portrait pictured below. I decided to draw the trajectory using the contour functionality of ...
3
votes
1answer
155 views
pgfplot — label, referencing and caption
I've the following pgfplot:
\begin{center}
\begin{tikzpicture}
\begin{axis}[
xlabel = Number of threads (\#),
ylabel = Task completion time (seconds),
...
3
votes
1answer
79 views
Shift y labels, stop y labels being dropped
I have a const plot with intervals on the y-axis. I'd like my y labels to be centered in each bar, as it would be if this were an xbar interval graph.
Also, and more importantly, I'd like more ...
0
votes
0answers
71 views
Axis labels overlapped and in wrong place in pgfplots [closed]
I'm using package pgfplots and I can't seem to get axis labels to show up correctly. I'm using the sample code provided in the pdf.
\begin{tikzpicture}
\begin{axis}[ylabel=Error]
...
3
votes
2answers
90 views
How to reference an axis label, e.g. xlabel
I'm new to that forum but it already helped a lot, thanks for this!
But now I really got stuck. Basically I'm looking for a possiblity to reference the xlabel of an axis in a TikZ picture. The ...
4
votes
1answer
149 views
Custom axis marks in double logarithmic plot
I'm getting quite frustrated with my lack of pgfplot understanding and was hoping somebody could help me figure out how to get more readily readable/understandable x axis tick marks. I have the ...
6
votes
1answer
375 views
Pgfplots contour gnuplot crazy labels
This is driving me mad. I am tryng to create some contour plots, but I get them full of labels, so that they are unreadable! I can't even see the lines or read the values because they are too much. I ...
8
votes
1answer
454 views
Different color for individual bar in bar chart & adding bar labels
Please consider the following MWE.
There are three things I would like to do:
Individual colouring For the last element ("not rejected") I would like to fill the bar with another color (e.g. ...
6
votes
1answer
782 views
How to change label and ticks of a pgfplots colorbar?
I have a 3d plot with colored surface and a colorbar made with pgfplots.
My probably related questions are:
How can I set the label of the colorbar?
What are the equivalents of zticks (positions of ...
6
votes
1answer
344 views
Two level labels in bar plot
I need to group the labels in the x axis by putting a second level label. I need to separate the nodes that are grouped from the other ones or marked them somehow.
For example, if I have the labels ...
3
votes
0answers
352 views
Set ticks precision with pgfplotsset [closed]
First, this forum has been a great resource for me for some time now. I recently started using pgfplots and tikz, so some things I still need to figure out.
I hope my question will be clear and the ...
2
votes
1answer
217 views
pgfplots: x-axes do not align due to different labels
This is my first post, so I hope I do everything right :)
I have the following problem:
Using pgfplots I create two graphs next to each other which have identical y-axes, but different x-axes. I want ...
0
votes
0answers
149 views
pgfplots: How to add a second tick scale for the same axis? [closed]
When plotting large values with pgfplots a common factor (e.g. 10^6) is shown on top of the axis.
Is it possible to add a second factor behind this, so that the new label there is for example "*10^6 ...
2
votes
1answer
304 views
pgfplots: putting marker labels outside of the plot
the following code:
\documentclass{article}
\usepackage[english]{babel}
\usepackage{pgfplots}
\usepackage{tikz}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{figure}
...
4
votes
2answers
363 views
PgfPlots with labeled plots extend outside the graph box
Sorry for the confusing title.
The MWE
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=0.75]
\begin{axis}[ylabel=Y-Axis, xlabel=X-Axis, ...
1
vote
1answer
360 views
TikZ Label multiple plots outside of axis box
I'm endeavouring to make a graph similar to the following using PgfPlots and TikZ.
I can make all of this work, except for the placement of the R=2, R=3, R=5, and R=10 markers on the left-hand ...
6
votes
1answer
996 views
pgfplots using strings *from data table* as x axis labels in bar chart
I've seen some of the other threads on using strings as x axis labels, but nothing that fits my situation.
I'm trying to create a bar chart from a CSV file. I can do it so long as everything in the ...
4
votes
1answer
623 views
label curve and/or contour name created with pgfplot via gnuplot
I will want to name different contour as one can see it on topographic card. How to do that?
I want label on different curve with the parameter that distinguish the curves. I have created 10+10 curves ...
5
votes
1answer
502 views
plotting a line in a barchart
Problem: line stops at given coordinates, ymax is not obeyed.
\documentclass[a4paper,10pt]{report}
\usepackage[left=1.5cm,top=2cm,right=1.5cm,bottom=1.5cm]{geometry}
...
4
votes
1answer
366 views
How to make a single barplot with different yticks, ytick labels and ylabel on its left and right side?
I have earlier asked two questions here related to barplots and labels/ticks for double y-axes: (1) How to make an xbar plot, with pgfplots, having different y tick labels on the left and right side y ...
8
votes
1answer
368 views
Use text data as mark labels in pgfplots
I have a table with numerical data and text in different columns, like this:
0 0 0.1
1 0 \pi
2 0 \frac{\pi}{2}
I'd like to put text labels on a plot using the text in the third column ...
5
votes
1answer
496 views
How to make a pgfplots stacked xbar plot with bar-“explicit meta” labels computed from input table data
I am making a pgfplots stacked xbar plot where each bar has a distinct
label, in addition to a numeric bar length. Each pair of bars also
has a common label. I would like to mark each bar with its ...
4
votes
2answers
1k views
How to make an xbar plot, with pgfplots, having different y tick labels on the left and right side y axis?
I am making an xbar plot with pgfplots. I want this plot to show the results from a test, where people in different age classes are given scores. For each of these age classes a single person is the ...
4
votes
2answers
1k views
xlabel on top axis in pgfplots
I managed to get the x tick labels on the top axis of a plot, but the label of the x axis is still on the bottom axis.
I couldn't find an option to get it to the top axis. Is this possible?
Minimal ...
3
votes
2answers
1k views
Bar plot labels and grids
\documentclass[a4paper,11pt]{report}
\usepackage{tikz}
\usepackage{verbatim}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title = {Optimalization based upon co-occurences},
...
8
votes
2answers
511 views
pgfplots: two labelings for a single 3d plot
I am trying to add a second labeling to my 3d plot, but I can not figure out how to do it correctly. The idea is to add a second axis without any grid, ticks, lines and nothing but labels and overlay ...
5
votes
1answer
244 views
pgfplots axis descriptions from file
I was wondering if there is any way to make pgfplots read the xlabel and ylabel from a file.
This is similar to this question Using Labels from a File in PGFplot but I'd like to read the column ...
4
votes
2answers
2k views
Pgfplots: Replace x-axis numbering with labels on confidence interval plot?
Try as I might, I can't seem to replace the numbering on the x-axis with (arbitrary) labels.
Here is a half-and-half, where the plot has been done in PGPPlots and I've added two of the x-ticks ...
5
votes
1answer
1k views
Date plot using pgfplots with odd tick label
How do I make the time label in the following image appear as "10:00" (i.e. 10 o'clock) rather than the unexpected and unwelcome "09:60"?
Here's the code that I am using:
\documentclass{beamer}
...
