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

Give focus to specific figure

I have a script, which I need to interact with both via command line and UI interaction through some figures. How do I programmatically switch the focus between console and full screen figure? If I do figure() then a new figures is open in front of…
00__00__00
  • 4,834
  • 9
  • 41
  • 89
-1
votes
2 answers

Making an image inside a figure a link - image size changes

Hi when I wrap my image with a anchor the image itself becomes really small. I have the image inside of a figure and I am using flex-box, I am not really sure how to keep the image size from…
Kirk Kimsey
  • 21
  • 1
  • 5
-1
votes
1 answer

Plot a function using Octave

I am new to GNU Octave and I want to plot the function psi in the range of [0 : 2000]: function y = H(x) if (x > 0) y = 1 else y = 0 endif endfunction function y = psi(s) t = 200 phiabs = 500 K = 1000 n0 = 1000 y = -n0 * e…
Erhard Dinhobl
  • 1,646
  • 18
  • 34
-1
votes
1 answer

Align vertically and horizontally plot R ggplot2

I have a specific issue (at least I like to think that :)). I want to align three plots in two columns and two rows. The alignment should be after the central plot (see pic; plot C) where plot A should align after x-axis of plot C and plot D should…
-1
votes
1 answer

Matplotlib.pyplot - Deactivate axes in figure. /Axis of figure overlap with axes of subplot

%load_ext autoreload %autoreload 2 %matplotlib inline import numpy as np import datetime as dt import pickle import pandas as pd import datetime from datetime import timedelta, date from datetime import date as dt import math import os import…
s88_py
  • 3
  • 2
-1
votes
1 answer

Issue with plotyy

Good afternoon, I have this code in Matlab plotting a 2 y axis curve also known as plotyy. I am interested in finding out why do I get two curves instead of one curve even though they are plotting the same curve? r=1.1; M=0.00063291; …
-1
votes
1 answer

Plot thie same figure in plotyy

Good morning, I am trying to plot this figure with the same code in Matlab. However it does not work at all. I simply can not get the same figure but instead using plotyy. The reason I need it with plotyy is make the reader understand the…
-1
votes
1 answer

Creating a Category Page with Thumbnails and Captions Underneath.....
or

I have a page that I am trying to create that looks like the image attached. [![enter image description here][1]][1] I got so far as putting in the thumbnails because no matter what I do, the thumbnails will line up like I write the code to do,…
Paul Squillace
  • 17
  • 1
  • 2
  • 7
-1
votes
1 answer

Contour plot of a function of 3 variables

As we can make contour plot of f=(x.^2) + (y.^2); in 2-D as follows: [x,y]= meshgrid(-10:10, -10:10); contour(x,y, (x.^2)+(y.^2)); and we can make contour plot of f=(x.^2) + (y.^2); in 3-D using contour3 Can we make contour plot of f=(x.^2) +…
Sardar Usama
  • 19,536
  • 9
  • 36
  • 58
-1
votes
1 answer

Displaying kcluster analysis centroids in a figure

I've created a kmeans cluster that I mostly want to be able to display clearly. I'm trying to add the cenrtoid location for each of the cluster indeces. Right now the result is something like this: It is a 24576x3 size matrix I ran kmeans on and…
Zvi Baratz
  • 21
  • 8
-1
votes
2 answers

Can't Remove y = 0 Line in Matlab

edit: I figured it out and don't see a place to mark this as answered. Thanks for the suggestions though everyone! A couple of weeks ago I was trying to force MATLAB to display a y = 0 line for a plot I was making. It was easy enough to search for,…
vayn23
  • 1
  • 2
-1
votes
1 answer

How to programmatically implement a dynamic GUI with checkboxes and scrollbars?

I try to create a GUI programmatically. It shall show the following things: where the checkboxes at the right side are static!! the number of checkboxes on the left depends on the userinput! What i try to do is to create is a panel for the dynamic…
john
  • 131
  • 2
  • 9
-1
votes
1 answer

Animation in R without saving figures and without external software

Is it possible to create an animation in R directly, as in Matlab, without actually saving figures and using external software? Just executing a script? Consider the following example in Matlab. t = (1:360) / 180 * pi; % 360 angles in radians…
rappr
  • 135
  • 7
-1
votes
1 answer

figures do not display in Eclipse GEF viewer

I create a ScrollingGraphicalViewer to show my figures, but no figure displays. I debugged the source and it seems all object (figures, editparts, models) are created, no exceptions. Why the figures do not display? Since the code is larege and…
zjg.robin
  • 95
  • 1
  • 5
-1
votes
1 answer

Multiple figures in one script - matplotlib

I'm working on an assignment which involves the need to show multiple figures on screen as the script is run (and also to save them). I am having to use both imshow and show to get the images up on the screen. This works fine, but I have read that…
IceDragon
  • 299
  • 3
  • 7
  • 16
1 2 3
99
100