Create subplot that spans multiple grid positions

NilsWaap
NilsWaap New Altair Community Member
edited October 2020 in Community Q&A

Hello community,

I would like to create a subplot that spans multiple grid positions.

 

I tried it as following but its only possible to hand over scalar values to the subplot function

subplot(2,2,1)
    plot(x,y)

subplot(2,2,2)
    plot(x,y)

subplot(2,2,3:4)  <----- thats the issue
    plot(x,y)

 

Best regards,

 

Nils

 

<?xml version="1.0" encoding="UTF-8"?>grids.png

Tagged:

Answers

  • robertavarela
    robertavarela New Altair Community Member
    edited July 2019

    Currently Compose does not support syntaxes such as subplot (2, 2, [3 4]) or subplot (4, 1, 3:4) , but this request is on the Development queue to be implemented soon.

     

    Regards,

     

    Roberta