axes Questions
1
Solved
I would like to be able to control the number of axis ticks on a seaborn plot in Python 3.5. I'm very accustomed to using R's ggplot, so I'm having some trouble with analogous functionality in Pyth...
4
I would like to draw a standard 2D line graph with pylot, but force the axes' values to be between 0 and 600 on the x, and 10k and 20k on the y. Let me go with an example...
import pylab as p
p.t...
Hydrophilous asked 9/11, 2010 at 16:52
0
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 b...
Exosmosis asked 22/12, 2014 at 22:14
0
I'm using a custom figure class in a call to pyplot's subplot()
fig, ax = matplotlib.pyplot.subplots(FigureClass=MyFigure)
and would like to use the axis object(s), ax, normally returned by sub...
Regressive asked 14/12, 2014 at 20:24
3
Context:
I have a (programmatic) GUI which contains several axes objects inside some uipanel parenting structure. Some of these axes have legend objects associated, some don't.
I want to include a...
1
I am trying to resize some plots in Octave. I've been able to change the line thickness and axis labels. However, I cannot find a way to make the axes themselves thicker, or the numbers larger.
Wh...
1
Solved
does anyone know how to switch on the axes INDICATOR in python code? I can switch it on when the graph is plotted, but I wanna know how to do it in code. I have found only how to switch on the axes...
1
Solved
I do the following imports:
import matplotlib.pyplot as plt
import matplotlib.axes as ax
import matplotlib
import pylab
It properly executes
plt.plot(y1, 'b')
plt.plot(y2, 'r')
plt.grid()
plt....
Proverbial asked 21/8, 2014 at 1:53
2
Solved
I have a simple D3 scatterplot that I switch among displaying several different attributes of my data, but while I can get the data points to change (and to transition as I want them to), and can c...
Godbeare asked 19/6, 2014 at 13:34
1
Solved
I'm writing a function that modifies the axes size and position on a figure, but when comes twin axes it makes a problem:
import matplotlib.pyplot as plt
def fig_layout(fig, vspace = 0.3): # func...
Elisavetgrad asked 24/5, 2014 at 18:34
4
Solved
I would like to edit the axes in my series of images being displayed.
This is what my image looks like:
As you can see, it ranges from 0 to about 500 from top to bottom. Can I invert that?
Plus...
Spill asked 19/5, 2010 at 12:51
2
I want to do a 3-d plot with mayavi2 using mayavi.mlab.surf(). This function has an argument called warp_scale that can be used to scale the z axis, I'm looking for something similar but for the x ...
1
Solved
Consider the following example:
data(iris)
pairs(iris[1:4],xlim=c(0,8), ylim = c(0,8))
As you can see, the axes limits for all subpanels have been altered.
However, the alteration required is ...
3
Solved
I'm preparing some plots for a scientific paper, which need to be wide and short in order to fit into the page limit. However, when I save them as pdf, the x axis labels are missing, because (I thi...
Antilebanon asked 2/4, 2014 at 10:39
1
Solved
I am currently attempting to use passed axis object created in function, e.g.:
def drawfig_1():
import matplotlib.pyplot as plt
# Create a figure with one axis (ax1)
fig, ax1 = plt.subplots(fi...
Plural asked 5/3, 2014 at 21:48
2
So when I try to graph multiple subplots using pyplot.subplots I get something like:
How can I have:
Multiple independent axes for every subplot
Axes for every subplot
Overlay plots in every s...
Outstation asked 17/5, 2013 at 14:2
1
Solved
I have a figure with a log axis
and I would like to relabel the axis ticks with logs of the values, rather than the values themselves
The way I've accomplished this is with
plt.axes().set_xt...
Alliaceous asked 19/12, 2013 at 21:58
2
Solved
Say I have two 2-dimensional matrices of equal size and create a surface plot for each of them.
Is there a way to link the axes of both plots, so that one can 3D-rotate both of them simultaneously ...
4
Solved
How do I obtain all the axes handles in a figure handle?
Given the figure handle hf, I found that get(hf, 'children') may return the handles of all axes. However, the Matlab Help suggests that it ...
1
Solved
I need a figure in matplotlib where both axes are always the same length. For this I am using the option 'equal'. In most cases it works quite well and I get the expected results (see figure 1), bu...
Freiburg asked 2/9, 2013 at 11:31
3
Solved
The following stackoverflow qestion:
Matlab: How to obtain all the axes handles in a figure handle?
identifies how to get handles to all of the axes from a figure in Matlab. However, this list wi...
1
Solved
I have two columns of data, X and Y with each entry having 4 places of data after the decimal in both the vectors.
When I make the simple plot with plot(x,y) the axes have the data shown up to 2 ...
1
I'm trying to make a matlab figure that nicely fits into a LaTeX Document. A known problem is that the XTickLabel and YTickLabels do not render using the LaTeX interpreter, causing bad looking plot...
1
Solved
Suppose I have vectors x and y, I know I can do plot(x,y) or plot(y,x) to achieve what I want. However, my question is specifically: If I have a plot already created in a figure as plot(x,y), how c...
2
I have made my GUI using GUIDE. I have an axes (tag=axes1). An image is displayed in the axes.
When i click on the image(inside axes) I need to get the coordinates.
I get the coordinate values when...
Haste asked 4/2, 2013 at 10:15
© 2022 - 2024 — McMap. All rights reserved.