Questions tagged [multiple-axes]

196 questions
0
votes
1 answer

Plot multiple columns with different scales

I have some data in the following format: Section Env. Ar. Width Length A 8.38 8.76 7 36 B 11.84 13.51 11 57 C 16.69 16.49 17 87 D 11.04 11.62 9 44 E 19.56 16.79 20 …
13554N
  • 37
  • 9
0
votes
1 answer

Highcharts multiple axis with custom labels

I have a Highcharts waterfall chart with two x-Axis: xAxis: [{ useHTML: true, categories: ['ONE', 'TWO', 'THREE', 'FOUR'] }, { tickWidth: 0, categories: [0, 10, 12, 1], labels: { style: { fontSize: '12px', …
ellier7
  • 417
  • 4
  • 9
  • 23
0
votes
2 answers

reading data from csv file to plot multiple plots using matplotlib

I have a set csv file that looks like this: tau,rh,temp, 00,100,23, 03,85,25, 06,98,26, 09,100,15, Now I am know how to plot graphs from a csv file. I have the script below: import matplotlib.pyplot as plt import numpy as np import csv import…
jms1980
  • 1,017
  • 1
  • 21
  • 37
0
votes
1 answer

Can ticks be turned outward when an AxisArtist is used?

I'm using an AxisArtist and would like to turn the ticks of the "twinned" x-axis outward. However, when I execute demo_parasite_axes2.py with the insertion of the line, host.axis["bottom"].tick_params(direction = "out"), a slight modification…
marisano
  • 571
  • 6
  • 10
0
votes
0 answers

Looping subplot with two scales does not work

Using Python, I try to create a plot that has one x-axis and two y-axes. This is not a problem, but somehow during looping only the curves in the host plot and the last curve in the par plot are shown. Below is my code. files = ['File-01',…
Mariska
  • 1
  • 2
0
votes
1 answer

Labeling y-axis with multiple x-axis'

I've set up a plot with 3 x-axis' on different scales, however when i attempt to use a Y-label i get the error: AttributeError: 'function' object has no attribute 'ylabel' I've tried a number of options, however I am not sure why this error…
Scott
  • 61
  • 7
0
votes
2 answers

How to specify axes when using the function `fit`

I have two axes: one for viewing images and the other for plotting graphs. I get this error when I try to specify which axes I want to plot the data on: Error using plot. A numeric or double convertible argument is expected when trying…
Senyokbalgul
  • 1,058
  • 4
  • 13
  • 37
0
votes
1 answer

Multiple axes labels in R

I have a 3 columned data set. The third column is "string" values (i.e. names) while 1st and 2nd are corresponding name's values in 2 of the corresponding fields. I would like to plot a conventional graph between 1st and 2nd column, but then in the…
Ayan Mitra
  • 497
  • 1
  • 8
  • 20
0
votes
1 answer

Two different data range for Y-axis in DotNet Highchart

Dears, I need to have two different range for y-axis when i'm using Dotnet highcharts in my code. here is an example in excel to show you what is the two range for y. I could add two data source to my chart already. one of them is area chart and…
0
votes
2 answers

Sorting the x axes in R

I built a logistic regression model (called 'mylogit') using the glm function in R as follows: mylogit <- glm(answer ~ as.factor(gender) + age, data = mydata, family = "binomial") where age is numeric and gender is categorical (male and female). I…
Mikee
  • 783
  • 1
  • 6
  • 18
0
votes
0 answers

Draw more than one helix using matplotlib

I am trying to draw helix (shape of spring). I was able to draw a single helix using axes3D and matplotlib. Below is my code: from mpl_toolkits.mplot3d import Axes3D from matplotlib import rcParams import matplotlib.pyplot as plt import numpy as…
0
votes
0 answers

Plotting using plotyy

Currently using this code to plot three sets of data. y2 and y3 should be on the 800ish y-axis, y1 should be along the 0.25ish axis. x=aEn; y1=dedxAir; y2=dedxGold; y3=dedxU; [hAx,hLine1,hLine2] = plotyy(x,y1,[x',x'],[y2',y3']) However, this…
steph
  • 1
0
votes
1 answer

Multiple y axis sections in a multiplot

I'v got a multiplot 2,2 with 5 lines in each plot, the lines range around the same values from 600-700 on the y value so they're overlapping. I added +60 +120 +180 and +240 to the y values and it would do the trick but isn't there a way in gnuplot…
Peter S
  • 625
  • 1
  • 9
  • 32
0
votes
1 answer

formatting data to display mulitple boxplots in R, also creating double y-axis in R

I have a data set that has observations of two variables (incidence (0-100) and severity (0-5) across 5 years. It looks something like this. cbb.incidence avg.severity Year 1 86.666667 2.0333333 2009 2 83.333333 1.8666667 2009 3 …
JayB
  • 103
  • 2
  • 9
0
votes
1 answer

How to change axis color on polar chart

I'm not sure how my axes turned green, but I want them to be black. Could you tell me what code to add to change my axes color to black and where to add the code? I would like the axes to be solid black lines. Thanks for your help! Here's the code…
JA2
  • 161
  • 3
  • 10