Questions tagged [figure]

A container for images, plots or other graphical elements with some optional meta-information.

A figure is a container that encompasses graphical elements in a larger context.

Matlab

From the official docs:

A figure is a MATLAB window that contains graphic displays (usually data plots) and UI components. You create figures explicitly with the figure function, and implicitly whenever you plot graphics and no figure is active."

LaTeX

A figure is a kind of float, a container for things that can't be split over different pages. A figure is define with the equally named environment.

HTML5

The <figure> Element represents self-contained content, frequently with a caption (), and is typically referenced as a single unit. (From the Mozilla HTML docs)

1521 questions
-1
votes
2 answers

Trying to add Text to Grid

I'm sure something similar has been asked a few times, and I tried searching here and tried a few suggestions, but I'm not having any luck. Also, I'm a complete newbie. In short, I'd like to add text below each image in a grid, and I have 3 images…
-1
votes
1 answer

How do I save just figure image without any graduation and numbers on x, y axis?

I used matlab code. img = imread('cmap3.png') map = jet(256) ind = rgb2ind(img,map) colormap(map) cm = colormap('gray) image(ind) Through above code, I got the . I want to save just the gray scale image without any graduations and numbers on x,y…
douner
  • 21
  • 4
-1
votes
1 answer

Remove the (sub)section number from figures in LaTeX

I'm using overleaf for my thesis and I would like some help. (document class=report) I am using chapters, sections, and subsections. My tables are named after the chapter and increment with every table (e.g. 5.1 and 5.2 for two tables in Chapter 5).…
-1
votes
2 answers

Can't save matplotlib figure to jpeg (it is blank) in jupiter notebook

I can't save my figure to jpeg (or any other) file (it is blank) x=list(df2['DAYTIME']) z=list(df2['av100002 - temp Wywiew']) x3= x[::75] fig1 = plt.figure() axes1 = fig1.add_axes([0,30,3.5,1.4]) axes1.set_title('Nawiew') axes1.plot(x,z,…
Johny686
  • 3
  • 1
-1
votes
2 answers

Data evaluation

I have some data in MATLAB, and want to distinguish the start and stop point when these data cross specified threshold (for example -50), and save them and then calculate the approximate area of that section under -50 and if it was below some…
F R
  • 13
  • 7
-1
votes
1 answer

Caption tails trailing below image in figcaption position absolute

I am trying to position a caption over the bottom part of an image using position absolute and bottom 0 which it is doing, but the tails of the g and the y letters area dangling down below the edge of the image. Is this expected behavious and do I…
kateaubon
  • 31
  • 3
-1
votes
3 answers

Python matplotlib changing the major unit scale of the x-axis

I have a figure that isn't showing the correct dates on the x-axis. Possibly because there are too many observations to show and it results in not showing any. I am not sure if I should use the set_xticks function, but it gives me the attribute…
BlackBear
  • 385
  • 1
  • 5
  • 25
-1
votes
1 answer

How to place a \figure*\minipage\eqnarray at the bottom of the SAME PAGE

I have a big equation that must be placed at the bottom of the page in a two columns paper. The call of the equation is at the end of the first column of a given page, but no matter what place holder I set([h!],[ht],etc), the equation goes to the…
LMH
  • 21
  • 2
-1
votes
4 answers

Matlab function parameter includes h. I want plot title to include same h. How to do?

function parameter includes h(=10). I want plot title to include the same h. how to do? function G=graphit(X,Y,ye,h) plot(X,Y,'-'); grid title([ 'Approximate and Exact Solution @h= .', num2str(h)]) Thanks. MM
Mary A. Marion
  • 780
  • 1
  • 8
  • 27
-1
votes
1 answer

Improving scatter plot in Matlab

I have to do the scatter plot of a 2-dimensional region in Matlab. The collection of the points (x,y) that should be included in the scatter is obtained by running a computationally intense code. As a result, this is the scatter that I get I don't…
TEX
  • 2,249
  • 20
  • 43
-1
votes
1 answer

Tkinter Label not being updated with textvariable

In my code I see that the Label is not being updated with the 'textvariable', despite I believe I'm doing it right (probably not!). varmuTemperature = StringVar(value="default value") self.Label = Label(Frame2, textvariable =…
rpecas
  • 177
  • 1
  • 5
-1
votes
1 answer

haskell function for si

I am trying to write a function render by using toPosition with render :: Dimensie -> Figure a -> [[a]] But I can't figure out how. Could you propose a way to do this? type Figure a = Pos -> a type Pos = (Double, Double) -- (x, y) chessboard ::…
-1
votes
1 answer

Continously updating a single plt.figure instead of creating multiple figure-windows

Ive got a loop in which i gather measurement data which needs to be drawn in about 12 subplots (here only 4 subplots) in 1 figure, which should update the subplots during every loop-cycle. However, my code just creates an additional figure-window…
Echo88
  • 15
  • 7