Questions tagged [figures]
91 questions
0
votes
1 answer
How to change the page/plot two figures
I am developing a tool that should produce 3 plots. Two of those are related and therefor I have created them using the the pyplot.subplot. The third one needs more space, and I would like to create it on a single chart.
It is clear to me, that I…

Sasha
- 1,338
- 2
- 13
- 22
0
votes
1 answer
Inspector seems to prevent user-defined classes from being cleared when connected to a figure
I am writing a basic GUI using classes in MATLAB. It involves basic uicontrols() and GridLayout components. Normally, if I close the figure and issue a 'clear classes' everything is fine. However, if I inspect the figure created by the class, it…

eacousineau
- 3,457
- 3
- 34
- 37
0
votes
1 answer
Numbering figures of plot(glm) in rmarkdown
I created a Rmarkdown document and want to number my figures. What I am struggling with is if a plot gives me several output like plot("glm Object")?
Here is a minimal example:
---
documentclass: article
output: pdf_document
---
```{r setup,…

Dima Ku
- 243
- 2
- 11
0
votes
2 answers
Create a figure of figures with matplotlib
I would like to know if there is a way to combined several figures created with matplotlib in one unique figure.
Most of the existing topics are related to multiple plots within one figure. But here, I have several functions which all create one…

Esculape
- 51
- 5
0
votes
0 answers
NotImplementedError: cannot remove artist, calling function to remove one patch at a time (matplotlib)
i am using Python 2.7 (Anaconda) with matplotlib to get the animation of a circle patch on a desk (square patch); i'm triyng for my first time to use classes for the patches to get the animation of the circle so that it starts from a defined initial…

mefit0
- 11
- 4
0
votes
1 answer
Plotting Multiple figures and adding circles to plots
I'm currently coding the trajectories of orbits and am trying to plot two figures during one run. I want one figure to display the orbital path of a satellite with the earth and moon visible on the plot as circles. I then want a separate figure that…

K.Ferguson
- 1
- 2
0
votes
1 answer
Two figures in two different files - how to run first fig from the second one?
I have two figs in two different files.
By clicking a button on first fig I want to show the second one... how to do this? is it possible?
If YES than how to exchange with data between two figures?

AndrewShmig
- 4,843
- 6
- 39
- 68
0
votes
1 answer
Python figure and axes object
I have a big unresolved question about the matplotlib Python module.
If I create a figure called [Figure1], with 2 axes [Ax1, Ax2], and another figure [Figure2], is there a function or method that will allow me to export the Ax1 object from Figure1…
0
votes
1 answer
How can I code a self arrow in my node diagram in R?
The code I found creates a population matrix node diagram. All I want to do is add a self arrow on the final node i.e. one that points to itself. Hope you can help.
library(diagram)
Numgenerations <- 6
DiffMat <- matrix(data = 0, nrow =…

adkane
- 1,429
- 14
- 29
0
votes
1 answer
Wrap text around very small images in latex
How can I wrap text around very tiny figures in latex without messing up the line margin (as it is in my example)?

pbehringer
- 11
- 3
0
votes
1 answer
MATLAB saveppt: How to save multiple plots (one plot a page) in PowerPoint.
How could I save multiple MATLAB figures in Powerpoint using saveppt? I have a script that plots multiple figures and I'd like to export and save them in PowerPoint in multiple pages (one figure per page). The code below only exports the last…

Bensa
- 127
- 2
- 13
0
votes
2 answers
Save figures EPS from Matlab P file without display
My function calls code from other functions I did not write those but I know what they do. One of them is .p Matlab file with obfuscated content.
I am doing batch processing of a number of files. I want to write the figures directly to file without…

Rigusorio
- 15
- 7
0
votes
1 answer
MATLAB linkaxes for different figures
I'd like to link axes for plots on different figures. However, my plotting method is within a class designed for a GUI and plots variables based on a listbox selection. Per listbox selection, a new figure is created with the Y value being…

CircAnalyzer
- 610
- 1
- 9
- 29
0
votes
0 answers
background Image won't print in matlab
I have the following code to print a calculated level overlayed to a google earth image.
im = imread('googleEarthImage.png');
figure
imagesc(lon,fliplr(lat),im); set(gca, 'YDir', 'normal');
hold on
pcolor(lon,lat,level); shading flat;…

mikeP
- 801
- 2
- 11
- 20
0
votes
1 answer
Changing to two different tick on two figures in one window
Basically I am trying to change the ticks on the y axis to be different but keep the same x axis ticks on both. I have looked online and through the textbook but was unable to get what I was looking for.
I am attempting to label the top figure's…

Stan-Lee
- 59
- 1
- 6