Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.6K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Use GraphicsRow with MatrixPlot graphics?

Posted 6 years ago

Hello everybody, I create via a function plotTra three pictures

p1 = MatrixPlot[plotTra[1, aa], FrameTicks -> {None}, 
  PlotLabel -> Style["\[Beta]=1", 20]]
p2 = MatrixPlot[plotTra[1, bb], FrameTicks -> {None}, 
  PlotLabel -> Style["\[Beta]=4", 20]]
p3 = MatrixPlot[plotTra[1, cc], FrameTicks -> {None}, 
  PlotLabel -> Style["\[Beta]=8", 20]]

Those pictures have the same size, the matrices have the same dimension, however,

GraphicsRow[{p1,p2,p3}]

does not work/stop/show me the picture. I let it running for some mins now.

GraphicsRow itself works on the trivial examples in the help. Any ideas?

POSTED BY: Michael Fischer
4 Replies

Does

GraphicsRow[{p1, p2, p3}, ImageSize -> Medium]

work for you?

POSTED BY: Henrik Schachner

It's three 32x5 matrices, the images themself are created instantly.

POSTED BY: Michael Fischer
Posted 6 years ago

Strange. What version are you using? I tried this and it also worked fine.

data = RandomInteger[{-3, 3}, {3, 32, 5}]

Is there a reason you need to use GraphicsRow, can you just use Row?

POSTED BY: Rohit Namjoshi
Posted 6 years ago

How large are the matrices? This works

$Version
(* 12.0.0 for Mac OS X x86 (64-bit) (April 7, 2019) *)

SeedRandom[1];
data = RandomInteger[{-3, 3}, {3, 3, 3}];
data // MapIndexed[MatrixPlot[#, FrameTicks -> None, 
          PlotLabel -> "Plot " <> ToString[First @ #2]] &] // GraphicsRow

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard