Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
matrixplot of histograms within subplot

Subject: matrixplot of histograms within subplot

From: J G

Date: 30 Mar, 2011 00:51:04

Message: 1 of 5

Is it possible to create a 1 by 3 matrixplot of histograms within a 6 by 1 subplot?

Subject: matrixplot of histograms within subplot

From: ImageAnalyst

Date: 30 Mar, 2011 01:25:18

Message: 2 of 5

On Mar 29, 8:51 pm, "J G" <jemma.geoghe...@gmail.com> wrote:
> Is it possible to create a 1 by 3 matrixplot of histograms within a 6 by 1 subplot?  
--------------------------------------------------------------------
What is a "matrixplot" and what is a "6 by 1 subplot"? OK, maybe a "6
by 1 subplot" perhaps means an array of 6 subplots in a 6 row by 1
column layout, but I have no idea what a "1 by 3 matrix plot of
histograms" is. Do you mean you want an array of 3 histograms (side
by side in a row) inside each of the 6 subplots??? I know it's not 3
histograms taking up 3 of the 6 subplots because the subplots are
arranged vertically while you want your 3 histograms in one row and 3
columns. Please explain better.

Subject: matrixplot of histograms within subplot

From: J G

Date: 30 Mar, 2011 01:44:04

Message: 3 of 5

Sorry for the confusion, I will be more clear...
I would like an array of 3 histogram plots side-by-side (1 row, 3 columns). I would like to have 6 of these and plot them in a subplot so I'd have 6 rows each with an array of 3 plots. Sorry, I hope this is more clear.
Thanks.

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <26e1781a-0f13-4cf8-ab46-23c5413659c7@l18g2000yqm.googlegroups.com>...
> On Mar 29, 8:51 pm, "J G" <jemma.geoghe...@gmail.com> wrote:
> > Is it possible to create a 1 by 3 matrixplot of histograms within a 6 by 1 subplot?  
> --------------------------------------------------------------------
> What is a "matrixplot" and what is a "6 by 1 subplot"? OK, maybe a "6
> by 1 subplot" perhaps means an array of 6 subplots in a 6 row by 1
> column layout, but I have no idea what a "1 by 3 matrix plot of
> histograms" is. Do you mean you want an array of 3 histograms (side
> by side in a row) inside each of the 6 subplots??? I know it's not 3
> histograms taking up 3 of the 6 subplots because the subplots are
> arranged vertically while you want your 3 histograms in one row and 3
> columns. Please explain better.

Subject: matrixplot of histograms within subplot

From: J G

Date: 30 Mar, 2011 01:53:04

Message: 4 of 5

Also, I realise I can do this in a subplot with 6 rows and 3 columns but I would like the plots in each row to be joined and share only one y-axis per row.
Thanks again.

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <26e1781a-0f13-4cf8-ab46-23c5413659c7@l18g2000yqm.googlegroups.com>...
> On Mar 29, 8:51 pm, "J G" <jemma.geoghe...@gmail.com> wrote:
> > Is it possible to create a 1 by 3 matrixplot of histograms within a 6 by 1 subplot?  
> --------------------------------------------------------------------
> What is a "matrixplot" and what is a "6 by 1 subplot"? OK, maybe a "6
> by 1 subplot" perhaps means an array of 6 subplots in a 6 row by 1
> column layout, but I have no idea what a "1 by 3 matrix plot of
> histograms" is. Do you mean you want an array of 3 histograms (side
> by side in a row) inside each of the 6 subplots??? I know it's not 3
> histograms taking up 3 of the 6 subplots because the subplots are
> arranged vertically while you want your 3 histograms in one row and 3
> columns. Please explain better.

Subject: matrixplot of histograms within subplot

From: ImageAnalyst

Date: 30 Mar, 2011 02:08:16

Message: 5 of 5

On Mar 29, 9:53 pm, "J G" <jemma.geoghe...@gmail.com> wrote:
> Also, I realise I can do this in a subplot with 6 rows and 3 columns but I would like the plots in each row to be joined and share only one y-axis per row.
------------------------------------------------------------
Well the first part was going to be easy, but then you added the
latter part. I don't know what you're planning on for the x axis for
the second and third plot. Do they start over with x1? So the x axis
goes
x1......xn x1......xn x1........xn, or does it go
x1.....................................3*xn ???
So you want just one big wide axis - one plot area - and not three
separate plots. The only way I know how to do that is to plot all 3
and then start finding the axes, labels, tick marks etc. and turning
their visibility off, and then adjusting the positions of the main
plot areas to nudge them over so they're shoulder to shoulder. What a
pain. Are you sure you NEED it done this way? Sounds like a lot of
work for no real benefit that I can see.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us