Questions tagged [multiple-axes]

196 questions
0
votes
1 answer

R: Add relative axes to on the right and top of the plot

I would like to make a simple plot look a little bit better. To do so would like to add relative axes in addition to the absolute values. I think I can use axis(3,...) to do this but I haven't figured out how. Can you help me with that?
Peter
  • 355
  • 1
  • 8
  • 23
0
votes
0 answers

Aligning multiple axes on MATLAB?

I need to plot a bunch of unit vectors and histograms corresponding to both axes (as a simple way to visualize clustering). This is what I want: https://i.stack.imgur.com/hIeev.jpg. The axes for the histogram are aligned with the unit vector…
0
votes
0 answers

Second y axis displaced

I am quite new to gnuplot. And I've got problem with secondary y axis. When I try to plot two curves into one graph with two different y axis, the second one is moved down a little bit. I mean that if you draw a straight line parallel to the x axis…
0
votes
0 answers

Add legend category to ggplot2 line plot with two y-axes

I'm trying to make a graph using ggplot2 with 2 different y-axes (appropriate and not misleading, I promise). I've got a legend for the first graph, but I can't seem to be able to add one for the second. Nor can I label this axis. My code is quite…
TCS
  • 1
0
votes
1 answer

Matploblib second axis range

I am able to produce the attached plot with two axes with this code: import matplotlib.pyplot as plt from matplotlib.ticker import FuncFormatter x = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.65] y = [0, 0.15, 0.3, 0.35, 0.4, 0.55, 0.57, 0.58] fig =…
tommy.carstensen
  • 8,962
  • 15
  • 65
  • 108
0
votes
2 answers

How to change the Axis colour in JChart2D

How can the colour of the Axis in JChart2D be changed. So far the closest thing I have found is something like: chart.setForeground(Color.BLUE); unfortunately this changes everything, both Axis and Grid. What I am looking for is having multiple…
Camilo Guevara
  • 165
  • 1
  • 12
0
votes
1 answer

Plot second y axis using plot and fill (without plotyy)

Here is my code clear all;clc x = linspace(0, 10, 100); axes('Position', [.075,.075,.9,.2], ... 'XColor', 'k', ... 'YColor', [0 0 0]); fill(x, circshift(sin(x), 50), 'red', 'EdgeColor','None'); ylabel('Fancy Sine', 'FontSize', 11); %…
embert
  • 7,336
  • 10
  • 49
  • 78
0
votes
1 answer

Handles disappear when I create axis in GUI

I'm working on a GUI (created with guide in Matlab) with two axes and two pushbuttons. When the user presses pushbutton1 I want to display an image on axes1 and when the user presses pushbutton2 I want to display an image on axis2. This is my…
user2738748
  • 1,106
  • 2
  • 19
  • 36
0
votes
2 answers

Left and Right Y-axes not formatting correctly

Say that I want to produce a barplot for the following data (counts): A B C D 3030 3049 3104 3018 But I also want to put a line plot overlapying the bar plot of the following data(lg): A 2.485294117647059 B 2.465160980297934 C…
user2726449
  • 607
  • 4
  • 11
  • 23
0
votes
1 answer

Highcharts: convert columns to stacked column in multiple axis chart

I want to use combo-multiple-axis chart but i want to convert "columns" to "stacked columns" because one of my "y value serie" is the sum of 3 data series and i want to show that change on my chart too. I am so new with javascript and coding but i…
0
votes
1 answer

Setting matplotlib aspect ratio for figures with multiple scales on an axis

I'm trying to generate a matplotlib figure with a specific aspect ration, 2 x-axes and 2 y-axes with different scales, and reformatted tick labels, along the lines of the following figure: In matplotlib I get as far as x_power_min = -2 x_power_max…
orome
  • 45,163
  • 57
  • 202
  • 418
0
votes
1 answer

Highcharts: with multiple axes

I'm not a developer so I need your help. I would like to create a charts with Highcharts with multiple axes like this: http://www.highcharts.com/demo/combo-multi-axes The Highcharts example uses 3 types of values: Temperature, Pressure and Rainfall,…
Fabio
  • 3
  • 3
0
votes
1 answer

High chart problwm with multiple axes with dynamic data

I am trying to generate multi axes graph uding highchart as below. But its not working, array generation and all are quite fine. If i hardcode totalNoOfLabels and totalLabelsSize then its working. Please suggest:
Aks
  • 1
  • 1
0
votes
1 answer

Gnuplot matching tics

I'm trying to plot data with two different x-axes with the following code: reset # Settings set grid set x2tics set xtics nomirror plot './data/N.dat' u ($1*c1)/f_offset:($2*c2) w lp ls 1,\ '' u ($1*c1)/f_offset:($3*c2) w lp ls 2,\ '' u…
BVilla
  • 23
  • 4
-1
votes
1 answer

Unexpected result while using AxesGrid

This code import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import AxesGrid mat0 = [[1, 2], [3, 4], [5, 6], [7, 8]] # 4 rows × 2 columns mat1 = [[-2, 0, 2, 4], [0, 2, 4, 6]] # 2 rows × 4 columns fig = plt.figure(figsize=(9, 3)) grid…
gboffi
  • 22,939
  • 8
  • 54
  • 85
1 2 3
13
14