Tagged Questions

{subfloats} is about small "sub"-figures and "sub"-tables within a single (floating) figure or table environment. For questions specifically about formatting a subfloat's caption, consider to use {subcaption}.

learn more… | top users | synonyms (2)

1
vote
1answer
21 views

Subfloat caption problem

I have two figures side-by-side as in Figure1. This is the current situation using the following code: \begin{figure}[H] \subfloat[Overall ...
3
votes
2answers
32 views

Reference of subfloat not appearing in pdf

I'm trying to reference the subfloat using \ref{img1} and \ref{img2} but its not working, a ? keeps appearing in the reference location. If anyone could please advise. \begin{figure}[t] ...
2
votes
1answer
25 views

Using \ContinuedFloat creating errors with table captions

I have a figure in my document that has 10 subfigures, and overflows onto two pages. I have used two figure environments and \ContinuedFloat to get the correct lettering between subfloats. The problem ...
3
votes
1answer
27 views

Not changing subfigure numbering while using command \only<>{ on beamer

I am trying to create slides with sub-figures that will appear and disappear when the next slide will appear. So far everything looks perfect but my main problem is with sub-figure numbering. When the ...
2
votes
2answers
32 views

caption on the left of lines of Subfigures

I would like to characterise rows of subfigure: I have 2 lines, each with 3 subfigures. Each line is characterised by a different value for the parameter R. I would like to have a caption on the left ...
4
votes
1answer
28 views

Separating two huge images into two pages

How can I seperate two huge images into two pages? I tried \newline but no success. \documentclass[12pt]{book} \usepackage{subfig} \usepackage{caption} \usepackage{graphicx} \begin{document} ...
2
votes
1answer
33 views

How to label the rows in 3x3 subplots

In the example shown below for the image attached, how can I manipulate the code to get the rows labeled? \begin{figure} \centering \subfloat[][] ...
1
vote
2answers
55 views

how to make the same image size for 3x3 subplots

In the code below,I produced each image separately in matlab and saved it as .eps.Then ,I used this code to put all nine images together as 3x3. However, their sizes looked different in height and ...
0
votes
1answer
31 views

Multi-page subfigures using the subfigure package

I'm trying to create figure that contains many subfigures and I want it to span multiple pages. I'm using the subfigure package to create my figure: \usepackage{subfigure} \begin{figure}[!hbp] ...
0
votes
1answer
31 views

problem with distribution of subfigures

I've been trying to arrange my figures in my beamer presentation as the attached example without success, could anyone please give me an example to do so? I like the way it is arranged and the margin ...
1
vote
0answers
55 views

**“No counter 'subfigure@save defined.”** -subfig error

I have used 'subfig' package to compile the following code. The code was running fine in linux machine (That too without loading the 'subfig' package). Now in Windows machine, I am having error ...
0
votes
2answers
59 views

subplots 3X3 with one colorbar at the top

I wanted to do 3x3 subplots with their colour bar shown north side, I want to write a code that puts them together as 3x3 subplots in Latex and then, I need to place thier colorbar at the north ...
4
votes
1answer
33 views

Subfigures appear on different lines when one doesn't have caption

I've got three subfigures in a row, and am setting their heights explicitly, as the first two are different widths, but need to appear the same height. The third subfigure needs to caption (it's just ...
0
votes
0answers
18 views

Trouble with subcaption

I generated the figure above by the following code. \documentclass{article} \usepackage{pgfplots} \usepackage{subcaption} \usepgfplotslibrary{groupplots} \pgfplotsset{width=8cm,compat=1.5} ...
1
vote
1answer
40 views

Tables with the same height but with different number of rows

I want to put two tables side by side. Each table has its own caption and the two have a common caption. I can do that with subfloat: \begin{table} \centering ...
2
votes
2answers
37 views

How do I use \bmatrix in a subfigure?

I am trying to put two matrices next to each other with the same caption, but I am having trouble using \bmatrix in the subfigure environment. Here is the code of what I am trying to do: ...
2
votes
1answer
51 views

LaTeX keeps putting my figure alone in last page [duplicate]

everyone. I'm writing my thesis and I'm having some trouble with \subfigure package. I have this code below in some part of my text: Some big text with a few explanations here... \begin{figure}[!h] ...
3
votes
3answers
65 views

How do I vertically center a table and a circuitikz diagram?

I would like a table and circuitikz diagram to appear to the left and right of one another, but I can't seem to get it to work with subfigures or subtables. What gives? Here's one of the ways I tried ...
3
votes
2answers
28 views

No figure reference number using a font size in the caption + subfigure

A strange behaviour: if I use the package subfigure and I add the caption in a font-changing environment, I have no figure number when I call the figure by reference. MWE: \documentclass{article} ...
0
votes
1answer
28 views

Subfigure environment puts figures top and bottom, instead of side by side

This question was asked, but I don't seem to resolve my case by adapting solutions from others. I am simply trying to put two figures side by side. However, regardless of the linewidth setting, my ...
3
votes
1answer
69 views

How to center subfigures in a 2 by 2 subfigmatrix

I have a figure with 4 subfigures displayed in a 2 by 2 matrix \begin{figure}[h] \begin{subfigmatrix}{2} \subfigure[ALS1]{\includegraphics[height=2.5cm,keepaspectratio]{fig1.png}} ...
2
votes
1answer
66 views

How to print a table and figure side-by-side in knitr

I see a lot of posts on putting figures side by side with tables without knitr, and posts about putting tables next to tables and figures next to figures in knitr, but nothing on how to put a figure ...
3
votes
2answers
63 views

Wrong figure number with subcaption and \hrulefill

I am having trouble with subfigures in my IEEEtran/journal document class. I am using the subcaption package to use sub-figures, and want to use \hrulefill to separate figures from the text. Somehow, ...
3
votes
2answers
111 views

Aligning subfigures in a 2x3 grid with tikz

I have a number of plots obtained with matlab2tikz. Now I want to align these plot in a neat way. I used the subfigure package, but the result is not aligned very nice, see My latex code is: ...
0
votes
1answer
37 views

Reduce Vertical White Space subfigure

I am having problems removing the white space between two rows of 4 consecutive images. Help is greatly appreciated! As a note to other users, horizontal white space was removed by using a "%" after ...
1
vote
2answers
84 views

Title and caption to all Subfigures

Hi I am using subfigure pacakge to plot multiple figures as: \begin{figure*}[t] \graphicspath{ {./images/} } \centering \subfigure[Original]{\includegraphics[]{2_o.eps}} ...
3
votes
1answer
36 views

Problem with Subfigure

Could someone please tell me why this \documentclass{article} \usepackage{graphicx} \usepackage{subfigure} \begin{document} \begin{figure} \begin{subfigure} \includegraphics{ngc3242fullslitmag.png} ...
0
votes
0answers
34 views

How to use the outdated \subfigure package to align 3 images

I would like to create a figure that has 3 images, one large long figure on the left, and two small figures on the right, exactly like the image in this link: How to stack two subfigures next to a ...
1
vote
0answers
32 views

Rotated figure moves to the right of the document

I want to rotate a 3d solid using tikz-3dplot within a subfigure environment (I am using IEEEtran document class as well). When I perform the rotation, the figure rotates as expected but moves to the ...
2
votes
1answer
26 views

Referencing subfigures/Increasing figure counter

There is a problem with referencing subfigures. When I add the line containing \caption{}, everything works perfect, but caption of a figure must be below the figure. How can I solve this ...
1
vote
1answer
48 views

How to format/include subfigures in AASTex document class?

I've been writing a document using the basic "article" class, but now I need to change it to "aastex." When I do this, my subfigures do not work. Is there any way aastex allows subfigures? I tried to ...
2
votes
2answers
94 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
0
votes
0answers
30 views

Subfigure numbering problem

I am tring to number the figure as 1 (a) 1(b)... . Inside section 5, I have written the text for latex. problem is that instead of numbering it is showing 5.3 5.3 (repeating). ...
0
votes
2answers
49 views

how to do 3x1 subplots in one figure

I need to do 3X1 subplots, that is 3 row X 1 column, does someone here know how to do it? Any help will be appreciated. thanks in advance
1
vote
2answers
51 views

Placing figures side by side

How to place figures side by side with two different captions and one common caption, while in the list of figures only common caption will show?
3
votes
3answers
140 views

Why latex doesn't recognize my subfigures?

\documentclass[11pt,a4paper,twoside]{book} \usepackage{caption} \usepackage{subcaption} \usepackage{graphicx} % [demo] is just for the example \begin{document} \begin{figure}[ht] ...
0
votes
1answer
28 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
0
votes
0answers
24 views

3 subfigures, 2 vertically aligned and one hortizontally [duplicate]

Hello, Does anybody know how to vertically align two subfigures with another subfigure horizontally? I mean i need to put two small images above each other beside another longer image as shown ...
1
vote
2answers
45 views

Formatting subfloatrow captions as Figure 1.A etc

I have been looking all over the place for a solution to this problem but I can't seem to find one. Basically I want subfigures captioned as "Figure 1.A", "Figure 1.B" etcetera. I use floatrow's ...
3
votes
1answer
671 views

“Environment subfigure undefined” on journal submission

I have a LaTeX file with packages \usepackage{amsmath,amssymb} \usepackage{graphicx} \usepackage[colorlinks=true,citecolor=black,linkcolor=black,urlcolor=blue]{hyperref} ...
1
vote
0answers
70 views

Wrong figure and caption position

I have a problem with my images!! As you can see, the position of images (a) and (b) is totally wrong! I don't know why! I used Latex for a lot of years, but it is the first time I see something ...
2
votes
1answer
46 views

An alternative way to align figure and table in \subfloat

So I realise this has been asked/alluded to a couple of times previously as in: Figure and table side-by-side in subfloats Table and Figure side-by-side with Table caption above, Figure caption ...
3
votes
2answers
80 views

Subfigures in Margin note

My codes, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
0
votes
1answer
29 views

Is it possible to adjust the vertical spacing between figures inside a figure environment

My aim is to increase or decrease the vertical spacing between figures inside the same figure environment. I have tried the subcaptions package and the commands vspace and vspace*, but they did not ...
0
votes
1answer
123 views

How to place two bar charts beside each other

There are two tikz barcharts in this snippet. I'm able to display barcharts one after another but when i use subfigure/subfloat its giving an error \documentclass[preprint,12pt,3p]{elsarticle} ...
2
votes
1answer
40 views

How do I arrange 2 subfigures on top of 1 subfigure?

I'd like the arrange these figures so there are two figures next to each other and one below, like an upside down triangle, so that they all fit on one page and are a reasonable size. How do I do ...
3
votes
1answer
44 views

How to put 2 sets of 3 figures on 2 columns?

I would like to put figures on 2 columns, 1st column; figure 1 with subfigures a, b and c, 2nd column: figure 2 with subfigures a, b and c. (a) fig. a | (a) fig. a | ...
2
votes
1answer
28 views

Put image in subfig's subfloat caption

I need to put an image "tinyimage" inside the caption of a subfloat of the subfig package. Minimal not working example: \documentclass{scrbook} \usepackage{graphicx} ...
1
vote
1answer
63 views

subcaption color with the subfigure package

To define the caption color in my document, I am using \usepackage{caption} \usepackage[font={small,color=ocre}]{caption} Which works perfectly, but currently facing the following two problems: ...
3
votes
0answers
56 views

How to align Matrix and Tikzpicture on the same horizontal line

I'm using subfloat to try to align my diagram with the matrix array. I want them to be next to each other, and per suggestion, used the subfloats to try to align them. I'm getting error messages. ...