axes Questions

2

Solved

Suppose I want to plot x^2. I can use curve() as follows. curve(x^2, -5, 5) However, I would like the axes to go through (0, 0). I could do something as follows: curve(x^2, -5, 5, axes=F...
Castigate asked 26/1, 2013 at 17:54

1

I think this is quite easy but I searched the internet and matplotlib users mailing list and not able to find an answer. ax2 is an inset axes within the "ax" axes in figure "fig", which I make by f...
Barboza asked 10/6, 2012 at 20:2

1

Solved

I'm having trouble changing the tick label properties on a plot with twin axes. I want the text to be small and in a different font than the default. I found a way that worked fine until I tried us...
Fezzan asked 15/10, 2012 at 7:6

1

How can I move the y axis label from the left to the right of the plot area and the x-axis label from below to above the plot area in the following graph? Thanks xleft<-c(1,2,2.5) xright<-c(...
Obelize asked 6/9, 2012 at 14:28

1

Solved

I have multiple datasets I want to plot in a single figure: plot "data1a.txt", "data1b.txt", "data1c.txt", "data2.txt" I want to have two y-axes with different ranges. yrange=[0:10] y2range=[-1...
Brawny asked 20/8, 2012 at 9:23

1

Solved

Could somebody provide a simple explanation of the JFreeChart axis-types? First, we have the axes that are based on the class hierarchy (ValueAxis, CategoryAxis, lots of subclasses) We also have...
Gauhati asked 10/8, 2012 at 13:29

2

I want to plot 2 subplots by using matlibplot axes. Since these two subplots have the same ylabel and ticks, I want to turn off both the ticks AND marks of the second subplot. Following is my short...
Lynnell asked 22/7, 2012 at 21:38

2

Is it possible to plot two curves, with two corresponding axes in gnuplot, each of which has a different scale? For example, y=x**2 and y=x**4 in the same graph (they vary enough to be "uncomforta...
Predetermine asked 13/5, 2010 at 14:39

1

Solved

I am plotting data in a plot using wxPython where the data limits on the y- axis are changing with the data. I would like to change the axis dynamically without redrawing the whole canvas like canv...
Lavolta asked 28/4, 2012 at 23:10

3

Solved

I have to translate an image plotting script from matlab to matplotlib/pylab, and I'm trying to achieve the same effect as the matlab image below: As you can see, the z order of the plots seem t...
Coparcenary asked 28/3, 2012 at 16:53

1

Solved

Say I have the following UL: <ul> <li>barry</li> <li>bob</li> <li>carl</li> <li>dave</li> <li>roger</li> <li>steve<...
Dabble asked 26/3, 2012 at 20:36

1

Solved

I am trying to create a 3D bar histogram in Python using bar3d() in Matplotlib. I have got to the point where I can display my histogram on the screen after passing it some data, but I am stuck on...
Cumulus asked 24/2, 2012 at 15:24

1

Solved

I would like to create pole/zero plot similar to pole/zero plot. It is for displaying IIR and FIR filters properties like stability, type... My question is: How can I set same scale (not range) f...
Meritocracy asked 8/11, 2011 at 10:0

1

Solved

So in a figure where three vertical subplots have been added with add_subplot, how can I select let's say the middle one? Right now I do this list comprehension: [r[0] for r in sorted([[ax, ax.ge...
Billion asked 18/8, 2011 at 1:3

1

Solved

I'm trying to make a VERY simple graph with the chart control in SSRS 2008 and, of course, Microsoft wants to make things as difficult as possible. The x-axis contains stations on an assembly line ...
Swot asked 14/7, 2011 at 17:53

1

Solved

figure('Color', 'w') box on x = 1:10; y = 5 * x + 2; area(x, y, 'FaceColor', 'b', 'EdgeColor', 'b') This code creates a figure with the area under the curve shaded blue. The EdgeColor property se...
Ortiz asked 31/5, 2011 at 0:46

1

Solved

I would like to draw a static vertical line that is parallel to the y-axis and which is at the middle of the x-axis. This line should not move when one pan in the figure. My goal is to have this ve...
Montagnard asked 22/3, 2011 at 16:27

1

Solved

Minimal example: [x,y,z] = peaks(50); figure; subplot(5,1,1:4); pcolor(x,y,z); shading flat; colorbar; subplot(5,1,5); plot(x(end/2,:), z(end/2,:)); In this example I'd like to have the lower ...
Topee asked 10/3, 2011 at 12:53

2

Solved

how exactly do you get fixed scaling of axes in Matlab plot when plotting inside a loop? My aim is to see how data is evolving inside the loop. I tried using axis manual and axis(...) with no luck....
Tableware asked 3/11, 2010 at 11:13

1

Solved

Most MATLAB plotting commands allow you to specify which axes to act on, for instance plot (x,y) plots in the current axes, but plot(Ax, x, y) will plot in the axes Ax. Similarly, you can ...
Consentaneous asked 21/9, 2010 at 13:2

1

Solved

I've got a GUI in MATLAB with a set of axes pre-placed. I'm using the location property of the legend to place it to the right hand side of the axes. However, by doing this the axes get re-scaled s...
Diplomate asked 30/8, 2010 at 17:6

1

Solved

Is there an easy way to remove a plotted line from a set of axes without clearing everything else on the axes? I'm trying to implement a GUI with a listbox containing several data sets. I can make ...
Noddy asked 2/8, 2010 at 14:20

1

Solved

This is my first post here and since I've seen many great answers I thought I'd give it a try. I'm trying to use XPath to obtain a specific element in an HTML document. Here is an example based of...
Lactescent asked 2/2, 2010 at 1:45

2

Solved

Update: giving a much more thorough example. The first two solutions offered were right along the lines of what I was trying to say not to do. I can't know location, it needs to be able to look at ...
Pear asked 18/9, 2008 at 4:30

© 2022 - 2024 — McMap. All rights reserved.