[Python] Python subplot 3 plots in 2x2 matrix (pyramid)

Discussão em 'Python' iniciado por Stack, Julho 11, 2025.

  1. Stack

    Stack Membro Participativo

    i want to plot a subplot as shown in version "a)". If i use plt.subplot2grid and colspan=2 i get version "b)" what i don't want. Here my current code:

    ax1.subplot2grid((2,2), (0,0))
    ax1.plot(m[:,0], m[:,8], color = "0")
    ax2.subplot2grid((2,2), (0,1))
    ax2.plot(m[:,0], m[:,9], color = "0")
    ax3.subplot2grid((2,2), (1,0))
    ax3.plot(m[:,0], m[:,10], color = "0", colespan=2)


    Thanks in advance! [​IMG]

    Continue reading...

Compartilhe esta Página