Group Abstract Group Abstract

Message Boards Message Boards

0
|
5K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Why are Frame All and Labeling above multiple plots not working

Posted 10 years ago

Hi Community Group,

Plesae can you help !

It seems a simple question, but I am struggling with two questions:

Why are (1) Frame =>All and (2) Labeling (text) above multiple plots not working?

Please find file attached !

Grid[Partition[Join[
   {p1}, {p2}, {p3}], 3]
 , Frame -> All
 , FrameLabel[Style["Test: Labeling above multiple plots", Red, 18], 
  Alignment -> {Top, Center}]
 ]
Attachments:
POSTED BY: Jos Klaps
2 Replies

Hi Nasser,

It looks very simple but I couldn't find it.

Thanks for your excellent support........Jos

POSTED BY: Jos Klaps

It is best to post code on-line so one can see it. I myself do not like to open attachments.

To put a label on top of multiple plots can be done as follows:

enter image description here

p1 = Plot[Sin[x], {x, -Pi, Pi}];
p2 = Plot[Cos[x], {x, -Pi, Pi}];
p3 = Plot[Tan[x], {x, -Pi, Pi}];
Grid[{
  {Row[{"My three plots with one label"}], SpanFromLeft},
  {p1, p2, p3}},
 Frame -> All, Alignment -> Center]
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard