0
$\begingroup$

I have a list of image and a list of labels and I am trying to combine them using GraphicsRow. I didn't see any "label" related option in GraphicsRow so wondering how should I combine it.

labelsPlot = {"(a) Ground Truth", "(b) FCN", "(c) Mask RCNN", 
  "(d) SETR", "(e) SepDet"}

MapThread[
 Placed[#1, #2] &, {{gtPlot, fcnPlot, mrcnnPlot, setrPlot, 
   sepDetPlot}, labelsPlot}]

enter image description here

enter image description here

$\endgroup$
1
  • $\begingroup$ You can try with Labeled instead of Placed and then Row instead of GraphicsRow. $\endgroup$
    – Domen
    Sep 18, 2021 at 19:56

1 Answer 1

1
$\begingroup$

Not clear on what you want as your final output, but the following may give you some ways to approach the problem.

enter image description here

Grid[{
  labelsPlot,
  images
  }]

enter image description here

Grid[{
  images,
  labelsPlot
  }]

enter image description here

Another possibility:

Grid[Transpose[{
   images,
   labelsPlot
   }],
 Alignment -> Left]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.