Questions tagged [multiple-axes]
196 questions
1
vote
1 answer
Why isnt Bokeh generating extra y ranges here?
My Bokeh version is 0.12.13 and Python 3.6.0
I modified the example code available here:
https://docs.bokeh.org/en/latest/docs/user_guide/plotting.html
I have just tried to add one extra y range.
from bokeh.plotting import output_file, figure,…

revoltman
- 101
- 3
- 12
1
vote
1 answer
How to have Log secondary Axis along with Linear one in Bokeh?
How does one puts a Log secondary Y axis to a chart with a main Y linear axis ?
I've tried this :
import numpy as np
import bokeh as b
import bokeh.io
from bokeh.models.formatters import *
from bokeh.plotting import figure, show, output_file
from…

hl037_
- 3,520
- 1
- 27
- 58
1
vote
1 answer
Dynamically adding series
I am trying to dynamically add series and axes to a line plot.
I am trying to use a call-back function to allocate series. But am having trouble with the syntax :
series: function() {
return {
'Level 1': {
axis: 'y2'
…

adriaan woerlee
- 19
- 1
1
vote
0 answers
Highcharts: How to plot a inverted columnrange along with a line chart?
[EDIT] - Resolved: See final chart in the end.
Infomation
Some background first. I have a line chart that plots power produced by a facility in a very simple line chart. This facility has 5 machines producing this power. Sometimes, these machines…

lcguida
- 3,787
- 2
- 33
- 56
1
vote
0 answers
I am trying to create line graph with multiple timeseries axes in c3.js
I am trying to create line graph with multiple timeseries axes in c3.js but it is not working
Here is my code I am using for this purpose:
var chart = c3.generate({
data: {
x: 'x',
x1: 'x1',
xFormat: '%Y-%m-%d %H:%m',
…

Rahul
- 11
- 3
1
vote
1 answer
Stata: Order of legend items with multiple axes
I am trying to simultaneously graph two axes using twoway. One axis uses the variable route to replace the usual symbol using mlabel and msymbol(none). The other axis requires no specific label in the plot region, but ideally should be keyed in the…

Todd D
- 258
- 1
- 13
1
vote
1 answer
Make dual X-axs based on different variables using ggvis
df <- data.frame(X1 = rep(1:5,1), X2 = rep(4:8,1), var1 = sample(1:10,5), row.names = c(1:5))
library("ggvis")
graph <- df %>%
ggvis(~X1) %>%
layer_lines(y = ~ var1) %>%
add_axis("y", orient = "left", title = "var1") %>%
…

Chuan
- 667
- 8
- 22
1
vote
1 answer
Why isn't this axis or title showing up?
I'm working on creating a polar chart and I can't get everything to show up how I want it.
Can someone help me figure out why the axis and title at 2 o'clock isn't showing up? Any other tips to make this look better would be appreciated! Here's my…

JA2
- 161
- 3
- 10
1
vote
2 answers
How to change the labels of an axis created with host_subplot (from AxesGrid toolkit)
The AxesGrid toolkit provides the function host_subplot, which makes possible the creation of multiple parallel axis, as show in the code bellow:
from mpl_toolkits.axes_grid1 import host_subplot
import mpl_toolkits.axisartist as AA
import…

Saul Berardo
- 2,610
- 3
- 20
- 24
1
vote
2 answers
Remove ticks from 1st axis on 2nd axis in MATLAB when using plotyy and axes limits
I am trying to use MATLABs plotyy function in combination with y-axes limits like that
x = [4:2:14 18];
y1 = [86; 87; 88; 89; 89.3; 89.6; 89.7];
y2 = [15; 35; 63; 99; 143; 195; 323];
width = .36;
axes = plotyy(x-width, y1, x+width, y2, @(x,y)…

Rob
- 919
- 7
- 16
1
vote
2 answers
Linear and Non-linear axis in Matlab
I'm the MatLab newbie and I need some help to create a linear and non-linear axis in one chart.
I need to make chart with 2 different X-axes. One X-axis displays 1000/T at the bottom and the second X-axis displays a T at the top of the chart.…

Ján Ondruška
- 23
- 1
- 3
1
vote
0 answers
How can I make multiple scales for boxplots in python?
I am trying to use the matplotlib boxplot to show the boxplot of a number of distributions. One group of distributions is on a very different scale than the other group. I have been trying to use twinx() to plot the second group but it overlaps…

user2906979
- 307
- 2
- 3
- 11
1
vote
0 answers
How to list all axes that exist in matplotlib?
Quick general question I wonder if anyone has the answer to please.
Is there a way to get matplotlib to list all axes that currently exist?
I'm trying to write some general code for clearing all twinned axes in a subplot (but not clearing the whole…

IanRoberts
- 2,846
- 5
- 26
- 33
1
vote
1 answer
matplotlib inset_axis inset placement has tick labels overlapping parent axes
When I use inset_axes to place an inset in a figure, for small figure sizes, the tick labels for the inset will overlap the axes frame. Is there a way to make the figure adjust to avoid this problem?
code:
fig, ax1 =…

Andrew Spott
- 3,457
- 8
- 33
- 59
1
vote
1 answer
Figure appearance is not preserved when its axes are added to new figure
I have several figures generated by independent scripts that I would like to lump in one complex figure with custom axes (position and size) for each panel. I know that this approach seems not to be well supported by matplotlib so far but I decided…

maurizio
- 745
- 1
- 7
- 25