Questions tagged [multiple-axes]

196 questions
2
votes
2 answers

Highcharts multiple x-Axis without multiple series?

This fiddle uses multiple series and displays an axis for each of them. Is it possible to use a single series to make several Axes?…
natecraft1
  • 2,737
  • 9
  • 36
  • 56
2
votes
2 answers

R: Two axis chart adjustments

I am trying to plot a chat with two axis, here is the code and attached is the plot, I have to do two adjustments to it. I want to plot a line with dots and dots should be middle of the bars Adjusting right side axis(i.e axis(4)) tick marks should…
Sivaji
  • 164
  • 9
1
vote
2 answers

Plotly graphs two yaxis

does anyone knows why this happens? Seens that my frist and my last point are connected … Plot img the code: df = pd.read_csv(‘data.csv’, index_col=0, parse_dates=True) def plot_var_prev(dff): fig = make_subplots(specs=[[{"secondary_y":…
1
vote
1 answer

xpath: How to combine multiple conditions on different axes

I try to extract all links based on these three conditions: Must be part of
1
vote
2 answers

Creating a mirrored, grouped barplot?

I have attempted adapting from some other solutions for slightly different situations. I am not being able to sort this out. I would like to build a mirrored barplot comparing chemicals with controls, but with results grouped by chemical…
Scientist
  • 1,061
  • 2
  • 13
  • 30
1
vote
2 answers

Put shared axis labels to upper plot

from matplotlib import pyplot as plt fig, (ax0, ax1) = plt.subplots(nrows=2, sharex=True) fig.show() Returns this figure: But I want the x-axis labels below the first plot, not the second, like shown below. How can I achieve this?
ascripter
  • 5,665
  • 12
  • 45
  • 68
1
vote
2 answers

how to get multiple x-axis labels for a react-chartjs-2 chart

Does anyone know how to get multiple x-Axes labels in a react-chartjs-2 chart? I see several examples where people are using chart.js but not react-chartjs-2. I suspect react-chartjs-2 may behave slightly differently when it comes to…
Jeff Froula
  • 13
  • 1
  • 1
  • 4
1
vote
1 answer

Is it possible to constrain plot_ly axis to certain proportions of the plot?

I am plotting two different types of data in r on the same x axis with the plot_ly library. I have two independent y axes. The data here is a quick mockup to represent the dataset with which I am working. I have a family of explanatory variables…
PDiddyA
  • 59
  • 1
  • 8
1
vote
1 answer

How to address broken dual y-axis plot output from r plot_ly subplotting?

I am plotting 4 plot_ly plots on the same "page" with the subplot function in the plot_ly library. The data here is a quick mockup to represent the dataset with which I am working. I have 4 families of explanatory variables (i.e. actuals 1-10, bias…
PDiddyA
  • 59
  • 1
  • 8
1
vote
1 answer

XPath for parent's sibling descendants

I have the following HTML I need to scrape, but the only reliable handle is a stable description of a text field. From there, I need to go to its parent, find that parents next sibling and then get the descendents (unfortunately the…
Eleshar
  • 493
  • 4
  • 17
1
vote
1 answer

barh with plot : cannot get different scale for data on secondary x axis

I cannot get two different scales for the plot: I don't know how to activate the scale of the secondary x axis. "STK" and "Material" are supposed to be displayed at different scales. How to display "Material" on it's own scale (0,max) like it was…
1
vote
1 answer

matplotlib axes.Axes.secondary_xaxis in a loop: only the last figure in the loop is correct

The code below seems to work fine. However, if I change the stop value of range (the max value of m), I realized only the last figure has the secondary axis plotted correctly. The secondary axis of all figures before the last ones seems to follow…
tetukowski
  • 63
  • 1
  • 8
1
vote
1 answer

How can I reformat axis labels to scientific notation in matplotlib?

I've produced this graph using the code I've pasted here. How can I reformat the right-most y labels to be the same notation as the left-most y axis? The relevant part of my code is: ax1.set_ylabel('Flux sensitivity, $\Delta S$…
Jim421616
  • 1,434
  • 3
  • 22
  • 47
1
vote
2 answers

Matplotlib external axes ruin subplot layout

I would like to plot a figure with 3 subplots. The middle one has 3 different x-axes, one of which is detached and placed below the subplot. When I use Gridspec for the layout the plot areas are spaced equidistantly, but the padding between the axes…
A. P.
  • 113
  • 3
1
vote
2 answers

matplotlib: event handling and navigation for inset axes

In order to display one plot on top of another I can either use two axes and play with zorder or use inset axes instead import matplotlib.pyplot as plt fig = plt.figure() ax0 = fig.add_axes([0.1,0.1,0.8,0.8], zorder=1) ax0.set_title('ax0') ax1…
Greg814
  • 91
  • 8