Questions tagged [figures]
91 questions
6
votes
7 answers
How to draw good looking arrows in Matlab?
I have been trying to draw arrows in Matlab in my figure but they all look terrible.
Also, I want my arrowhead to be a solid triangle, not a V.
I tried using the packages available on the Matlab File Exchange: arrow, arrows, arrows3, and probably at…

Veridian
- 3,531
- 12
- 46
- 80
5
votes
1 answer
Can I change the export to pdf settings in Mathematica 8?
I am using Mathematica to plot a number of figures I require and then using them as pdfs in Latex.
The issue is that Mathematica exports the figures using Acrobat 5.x settings compatibility and I think this results in figures that are large, not…

o4tlulz
- 215
- 5
- 9
5
votes
1 answer
How to force image to text when converting markdown to pdf using pandoc
I made a GitHub wiki - a manual to a software package - and I want to transform it into a beautiful pdf manual. However, I have some trouble with figures - many of them are put in one of the following pages, much after the place in the text where it…

bniebuhr
- 129
- 1
- 10
5
votes
2 answers
Referencing figures with bookdown
For some reason I have problems with cross-referencing figures in a bookdown document. Here is a minimal example:
---
output:
bookdown::html_document2:
fig_caption: yes
---
Reference example: \@ref(fig:plot-cars):
```{r plot-cars, fig.cap…

der_grund
- 1,898
- 20
- 36
5
votes
0 answers
How do I ensure that my matplotlib axes are of a custom class?
I have a custom figure class and would like to ensure that all of the axes associated with it, whether created with subplots() or twinx(), etc. have custom behaviors.
Right now I accomplish this by binding new methods to each axis after it has been…

orome
- 45,163
- 57
- 202
- 418
5
votes
2 answers
Assigning figure size to a figure with a given handle (MATLAB)
is there a way to assign the outerposition property of a figure to a figure with a given handle?
For example, if I wanted to define a figure as say figure 1, I would use:
figure(1)
imagesc(Arrayname) % I.e. any array
I can also change the…

James
- 253
- 2
- 8
- 11
5
votes
6 answers
Matlab - Close figure windows
i'm writting some code in Matlab editor, which has about 30 figures. So, when I publish it, it opens 30 figures windows, which is annoying. How do I keep it from opening the windows, but keeping the figures in the published window?
I've tried with…

Marco Castanho
- 395
- 1
- 7
- 24
5
votes
0 answers
LaTeX subfloat with subcaption package: Missing number, treated as zero
I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption and subcaption packages. Nevertheless, I am…

Amittai Aviram
- 2,270
- 3
- 25
- 32
3
votes
1 answer
Python plotting to different figures fails
EDIT: I figured out that the Problem always occours if one tries to plot to two different lists of figures. Does that mean that one can not do plots to different figure-lists in the same loop? See latest code for much simpler sample of a problem.
I…

Blue
- 113
- 7
3
votes
1 answer
Matplotlib differentiate between mean and median with colour or shape
I am using matplotlib version 1.4.3 and I wanted to make a Violinplot and I wanted to show the mean and the median, which is easy to do but I want to mark the mean and median so they can easily be distinguished between, by changing the colour and/or…

James Lloyd
- 127
- 1
- 4
3
votes
1 answer
increase png resolution when using saveHTML() {animation} in R
I am in need of a way to increase the resolution of the png files created by saveHTML().
Here is a dummy script of what I am trying to do where in reality plot() is a number of nested loops:
x<-y<-rep(1,10)
saveHTML( for (i in…

jsol
- 685
- 5
- 6
3
votes
1 answer
Grouping Figures separately into windows and tabs
I have 4 plots to make, of vectors y1, y2, y3 and y4, all as a function of a vector x. I would like the first two plots to be grouped as tabs within a single Figure window, and the next two plots also grouped as tabs but in a separate window.
I…

z8080
- 571
- 3
- 7
- 23
2
votes
2 answers
Matlab reusing legends and formatting
I have a number of graphs.
I need to do some formatting over those graphs. Like i need to change labels, draw a few lines then place the legends,format the font size and colors etc over all those graphs. These graphs are .fig files.
I do not have…

Dexters
- 2,419
- 6
- 37
- 57
2
votes
3 answers
MATLAB - dynamically resize x-axis but not y-axis in plots?
I am generating a plot in real-time. I shift the x-axis by 30 seconds, every 30 seconds. This is all well and good, but my y-axis is auto-resizing itself to smaller than previously. Take a look below:
This is my data before we hit the 30 seconds…

Dang Khoa
- 5,693
- 8
- 51
- 80
2
votes
1 answer
Referencing Figures in Latex
I am currently writing my thesis in greek and whenever I try to reference a figure I get the following in my text:
[;;]
This is the code I wrote:
\begin{figure}[h]
\label{ fig:image1}
\includegraphics[width=1\textwidth]{image1}
\caption{Απεικόνιση…

gstamata
- 23
- 1
- 1
- 3