The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
10 views

How to plot boolean (digital) variables using pgfplots?

I work with electrical power systems and always I need to plot voltage and current signals. Sometimes I need to plot boolean signals. I'm using pgfplots and groupplots specifically to do this work as ...
2
votes
0answers
26 views

nested groupplots

What is the best way to make a groupplot of a few groupplots? I'll need to be able to add tick-labels to both "levels" (the inner and outer groupplots, think Inception 2010). For example, each ...
1
vote
1answer
43 views

Center legend above (or below) a groupplot WITHOUT references

So, I need to place my legend outside a groupplot with 2 columns and 2 rows. I'd like to center it either above or below. I read a lot of similar question on tex@stackexchange, but all of them seems ...
2
votes
1answer
51 views

Spy glasses in a group plot

I have a group plot in which the graphs have common x axis and are stacked one over the other- like the one givenhere. Now, I want to have a spy glass on each of these plots in the group. But when I ...
2
votes
1answer
89 views

Pgfplots for every group plot

Similar to this question I want to align my y labels of groupplots. The style ylabel absolute, y label/.append style={yshift=0em}, does the trick, and thus I want to apply this to every group plot....
1
vote
1answer
66 views

pgfplot Memory Problem

I am plotting groupplots like this The data set is quite large (15000 data points for each plot and each group has 5 such plots). When Latex threw memory shortage error, I tried using ...
1
vote
0answers
30 views

I want to center vertically these group-plots but i can't do it

\documentclass[border=1cm]{standalone} \usepackage[x11names,dvipsnames]{xcolor} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{pgfplots} \usetikzlibrary{arrows,snakes,patterns,decorations....
3
votes
1answer
146 views

Common colorbar over groupplot

I have results that I want to present in a groupplot that share a common result range. Naturally, I don't want to show multiple colorbar next to each picture next to each individual picture but one ...
1
vote
0answers
31 views

How to get only two `yticklabels` using `groupplots` library

Having several subplots generated using groupplots library, I would like to automatically detect the data range in each subplot, and specify two yticklabels only (ymin and ymax). Because the data ...
3
votes
1answer
94 views

force \groupplot to start from the bottom left corner

Using \groupplot, subplots are generated starting from the upper left corner as shown in the following illustration: Is it possible to force it to start from the bottom left corner, i.e : Here is ...
3
votes
1answer
59 views

Show tick labels on both edgess in groupplot

I would like to put quite many small plots in a groupplot environment and provide ticklabels on all adges of the groupplot (no labels at individual plots). In the following example, I've set the ...
2
votes
1answer
181 views

Positioning of named nodes and paths within groupplot environments

I am having issues with pgf, pgfplots and the groupplots library. The issue is best explained with an example \documentclass[tikz]{standalone} \usepackage{pgfplots} %\pgfplotsset{compat=1.12} \...
6
votes
2answers
255 views

How to plot Lambert W function with pgfplots

I would like to plot the two main branches of the Lambert W function with different colors using pgfplots like here but I don't know how to do it. Is there some way to reflect a function with respect ...
3
votes
1answer
187 views

Unwanted vertical space above x-axis in TikZ + pgfplots + groupplot

I'm using TikZ with groupplot to merge two plots vertically and thus I need to remove the lower x-axis line on the upper plot upper x-axis line on the lower plot. This is achieved with this MWE: \...
4
votes
2answers
450 views

fillbetween from pgfplots does not work inside groupplots

MWE: \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat=newest} \usepgfplotslibrary{groupplots} \usepgfplotslibrary{fillbetween} \usepackage{filecontents} ...
0
votes
1answer
57 views

Change y-axis limits in pgf groupplots

This post is building from the post found here. How do I go about changing the y-limits of all the right hand side plots to a ymin of -160? Here is my code: \documentclass[11pt]{book} \usepackage[% ...
2
votes
2answers
183 views

pgfplots - tikz external - legends are missing

I'm using tikz external to get plots rendered faster. But legends in the plots are missing if external is used. Update: I'm using label to create legend. The same issue does not occur if \legend is ...
2
votes
1answer
232 views

Axis break in pgfplots - same scaling for the two plots

I've found the answer to my question here. Nevertheless I have a related question. The MWE can be exactly the answer to the linked question, so I insert here just the "interested part" (if I have to ...
2
votes
1answer
61 views

pgfplot - groupplot print x label only once in the last row

In the below group plot, the xvalues are common for all the subplots. I want the x labels to be displayed only on the last row of the group plots. \documentclass{article} \usepackage{tikz} \...
5
votes
1answer
57 views

String concatenation macro to find file in pgfplots groupplots

I have a strange problem with pgfplots and using a macro to return a string to a file to be included. MWE Code: \documentclass[a4paper,10pt]{article} \usepackage{pgfplots} \usepgfplotslibrary{...
0
votes
0answers
35 views

One legend for two bar charts [duplicate]

I want to use only one legend for two histogramme plot. See the following example. Thank you in adavance. \documentclass[1p]{elsarticle} \usepackage{pgfplots} \pgfplotsset{width=5cm,compat=1.3} \...
1
vote
0answers
12 views

pgfplot groupplot fillbetween - problem comes up again with newer version of texlive [duplicate]

I have had this problem before, I asked it here and got a solution: pgfplot groupplot fillbetween Now I have texlive 2015 and my old codes don't work \documentclass[class=scrartcl,14pt]{standalone} ...
0
votes
0answers
73 views

Pgfplots: Adding text to group plot [duplicate]

I have group plot which consists of 2 rows and 3 columns. I need to add text to left of the figure and below of of the figure, very similar to this : \documentclass{article} \usepackage{amssymb} \...
3
votes
2answers
702 views

Create groupplot 3 x 6

I asked a similar question before: Create 2x2 groupplot with +1 plot to the side? For that time using the subfigure environment wasn't a problem. But I do not want to use the subfigure environment ...
1
vote
1answer
115 views

How to skip a plot in groupplots pgfplots

The MWE puts plots in a 2x2 matrix: x x x - I'd like to place the plots differently: x - x x MWE: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}...
4
votes
0answers
174 views

Conflict tikzscale and matrix group plot

I want two axis environments next to each other in one figure environment. I want them to be vertically aligned and scaled to the width of the text. I am trying to achieve this by means of the ...
1
vote
1answer
101 views

Align to baseline with groupplot

When using groupplot in pgfplots, is it possible to Specify which subplot baseline applies to? Set the total height of the plot automatically or to the height of previous plots? Specifically, ...
1
vote
1answer
86 views

Nested axis in groupplot (2 plots in groupplot)?

Is it possible to have a smaller plot embedded into one of the plots of a groupplot? Similar to a magnified region of the plot at the top corner, which is part of a group of other plots in the ...
3
votes
1answer
70 views

Overlap and non-functioning filling in groupplots

I'm trying to place multiple plots in the same figure. In each plot I'd like to have a certain region highlighted. However, there is significant overlap between the plots and the highlighting doesn't ...
1
vote
1answer
131 views

Use tikzexternalize for pgf-groupplots with \uncover in beamer

I successfully used the answer to Beamer overlays, tikz external and custom file name in my presentation. However the proposed solution does just seem to work for \only. When I use \uncover I get a ...
1
vote
1answer
43 views

Solution to: “Failing to implement Errorbar from Preamble Table in Grouplots. Code Works” [closed]

I solved it and it works fine by using defined variables or constants in the Preamble. The problem was recognising [G83] as option argument which I mistook for title or something. Thus, adding error ...
3
votes
1answer
101 views

Funky (don't know how else to describe) Surface Plot

Below is an MWE \documentclass{article} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} \usetikzlibrary{pgfplots.groupplots} \pgfplotsset{compat = 1.12} \begin{document} \centering \...
1
vote
1answer
101 views

Label positioning in pgfplots

I am using lualatex and I am having trouble positioning the labels of a grouplot at the bottom of the plots. Here is my code % !Mode:: "TeX:UTF-8" \documentclass[a4paper,12pt]{book} \usepackage{...
1
vote
1answer
73 views

Insert a line break in the title of a groupplot plot

I've seen some posts that address this question for a caption, but most rely on using the caption package... I have a groupplot that produces the following output: Obviously I'd like to clean up ...
5
votes
1answer
192 views

How to center align a single plot within a row of groupplot

I have an odd number of plots, 5, and would like to center align this fifth plot using groupplot as well as a group x-axis label. I have a 3x2 setup. I searched for answers and I've seen a case where ...
2
votes
1answer
95 views

Missing Legend Entries in GroupPlot

I am constructing a groupplot with a common legend placed in a node under the plot. An MWE that recreates my problem is below. \documentclass{article} \usepackage{pgfplots} \usepgfplotslibrary{...
1
vote
0answers
42 views

reduce ytick density for two pgfplots in groupplot

please help me adjust the ytick density of my second plot in the groupplot I have shown. I have tried to increase the max space as suggested from another thread but it only works for the first plot ...
1
vote
1answer
392 views

Shared legend below a group of horizontally aligned figures in pgfplots [duplicate]

How should I run the following example code using /pgfplots/legend to name={<name>} to put a shared legend below a group of horizontally aligned figures? The example code using /pgfplots/...
2
votes
1answer
361 views

Second y-axis inside groupplot

I would like to add a second y-axis inside a groupplot. If there's a better/easier way to get the plot I want (see figure) I am willing to not use groupplot. \documentclass[tikz]{standalone} \...
1
vote
1answer
367 views

bar width not recognized in group plot

I am trying to put four bar charts within one groupplot. My file is \documentclass[tikz,border=3pt]{standalone} \usepackage{xcolor} \usepackage{pgfplots,pgfplotstable} \usepgfplotslibrary{groupplots} ...
3
votes
0answers
142 views

How to set axes limits for two types of plots when using groupplots

I have a rather big figure with two rows of plots where the first row has one y-axis and the second row has another y-axis. I would like to set the axis limits for these two sets of y-axes without ...
1
vote
0answers
326 views

example: pgfplots groupplot with two x-axes

I want to share my result, having two different x axes in groupplot. One axis is the energy, the other is the corresponding wavelength. Up to now, this is my working solution, but maybe someone can ...
2
votes
1answer
212 views

Am I properly inserting legends in groupplots? Labels “multiply defined”

I have a few places in my document where I use groupplot to insert several figures, but I only want one legend as it's common to them all. I've done this using legend to name=foo and then, after the ...
3
votes
1answer
620 views

get caption/subcaption every plot using groupplot pgf tikz

Hello I want to have Under each plot (subgroup plot) its caption or label, so I can also reference it in my document. Here in my example I used (a), (b), (c) I can keep them but they are not well ...
2
votes
1answer
159 views

Ticks vanish in pgfplots if groupplot is combined with set layers and axis on top

I am trying to use set layers to get the grid behind the tick labels and axis on top=true to get the axis on top of the plot lines. If I use these settings in a groupplot neither the ticks nor their ...
3
votes
1answer
377 views

Contour Plots in Groupplot

I am trying to produce a groupplot with two contour plots. I suspect I could work this out on my own given enough time to play with it, but I am up against a bit of a time crunch... As background, ...
2
votes
1answer
700 views

Bar Chart Patterns in Legend

I have a groupplot with three bar charts using a common legend. This worked great when I was using color, but now I have to prep for publication in black and white. I'm not well versed at all in ...
0
votes
0answers
54 views

Figure floating takes full page

I have about 6 scatter plots which I group together in a single figure by using the subfigure package. I am using a two-column conference layout. The figure I create is a figure* to extend over both ...
4
votes
2answers
205 views

Centering group plot figure

Can anyone show me how to center this group plot? I've tried every trick in the tex.stackexchange book of similar posts (e.g., How to center large figures in LaTeX and how to fix short justified ...
1
vote
1answer
355 views

Group plot: Replacing the values (labels) on x-axis

I'd like to replace numerical labels (e.g., 1,2,3,4,5) on x-axis with names (e.g., A,B,C,D,E) in a group plot environment on a case-by-case basis. The group plot environment seems to easily support ...