Linked Questions

10 votes
3 answers
25k views

I have 4 subplots, i achieve to plot 3 subplots on 1 line but i can t add an other plot on a second line which must have the same width of the 3 figures. The first 3 figures : The second figure, i ...
user3601754's user avatar
  • 3,882
7 votes
2 answers
15k views

I have a script which is creating one or two charts, depending on if one specific condition is met or not. Really basically, what I am doing so far is the following: import matplotlib.pyplot as plt ...
Matteo NNZ's user avatar
  • 12.8k
0 votes
1 answer
13k views

I would like to change the size of a graph (with multiple plots) in python to make it larger. using 'plt.figure(figsize=(6,3))' for example makes a new graph of a different size but its empty with ...
jojo's user avatar
  • 41
1 vote
1 answer
3k views

Based on this article of multiple subplots on matplotlib with python, it is very easy to create subplots in form of an 2x2-matrix for example. With the code from example 4 I can get the supblots of ...
Martin Kunze's user avatar
  • 1,065
-1 votes
1 answer
2k views

I would like to plot a composite figure over two rows with one entry on the top row and two on the bottom row, with each subplot having the same aspect ratio. How can this be done?
tjsmert44's user avatar
  • 161
1 vote
1 answer
1k views

I have the following code: fig = plt.figure(figsize = (16,9)) ax1 = plt.subplot(3, 2, 1) ax2 = plt.subplot(3, 2, 2) ax3 = plt.subplot(3, 2, 3) ax4 = plt.subplot(3, 2, 4) ax5 = plt.subplot(3, 1, 3) ...
JonnDough's user avatar
  • 937
4 votes
2 answers
76 views

I want to make a matplotlib figure that has two components: A 2x2 "four pack" of subplots in the lower half of the figure A subplot above the four pack that is the size of the four pack. I ...
Dave's user avatar
  • 500
0 votes
3 answers
143 views

I am trying to plot some graphs, I want it to look like that, and do it in python. I tried many things but it looks way uglier than what I want to achieve, any help would be appreciated
demetere._'s user avatar
2 votes
1 answer
356 views

I would like to make a figure which looks like the image below. I have seen one post which did something similar with subplot (shown below) but I cannot adapt it to this specific design. Help would be ...
Woodywoodleg's user avatar
0 votes
0 answers
235 views

The existing solution How do I change the figure size with subplots? does not answer my question. fig, axs = plt.subplots(2, 2, figsize=(15, 15)) # Does not work in my case! Other answers in my case ...
dokondr's user avatar
  • 3,549
0 votes
1 answer
151 views

This code creates following PNG file though, This wasn't what I want. import seaborn as sns import matplotlib.pyplot as plt fig, ax = plt.subplots(2,figsize=(20, 6),gridspec_kw={'height_ratios': [2,1]...
masaya's user avatar
  • 490
1 vote
1 answer
118 views

I have created a plot that contains two plots within the same axis similar to this: https://matplotlib.org/1.5.1/examples/pylab_examples/ganged_plots.html fig = plt.figure() ax1 = fig.add_axes([0.1, ...
Selena Chavez's user avatar
0 votes
0 answers
104 views

I have a chart in matplotlib which uses two subplots. Code is as follows: # Chart chart_data['whisker'] = chart_data['high'] - chart_data['low'] %matplotlib inline fig, axs = plt.subplots(2, 1, ...
M.E.'s user avatar
  • 5,695
-1 votes
1 answer
79 views

I was trying to achieve this But i ended with this The main idea was to manage axes to include the third subplot in the figure, but i can't find a way to do it. Can somebody help with that please. ...
Dearsfs Asfrt's user avatar
0 votes
0 answers
57 views

I need to break a plot into four subplots. Consider the following code: import numpy as np import matplotlib.pyplot as plt MM= [[0, 1], [1, 0], [14, 15], [15, 14], [67, 68], [68, 67], [72, 73], [73,...
sara's user avatar
  • 23

15 30 50 per page