MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ? about MatrixPlot used with ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107688] Re: [mg107682] ? about MatrixPlot used with ListPlot
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 23 Feb 2010 08:02:22 -0500 (EST)
  • References: <22481221.1266883958837.JavaMail.root@n11>

It would help if you could post some actual sample data (dataA and dataB)
that illustrate the problem.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Anne Goj [mailto:agoj at mail.uh.edu] 

Hi,
   I am trying to show a set of (x,y) points on top of a matrix plot

plotA = ListPlot[dataA, PlotJoined -> False, PlotStyle -> {
PointSize[0.04]}, PlotRange -> {{1, 50000}, {1, 10}}]

plotB = MatrixPlot[dataB, DataReversed ->{True, False}]


Show[plotB,plotA]

but I am getting plotA back with no matrix plot underneath and the axis 
ticks look messed up like it is trying to include plotB but the size/range
is wrong.  The data ranges for the 2 plots are the same. I have fiddled with
AspectRatios and other parameters but can't find a fix.
  Unfortunately, due to the large amount of data in dataB (a 50000 x 10
matrix), ListDensityPlot doesn't work as well as MatrixPlot. 
 Any help with how to show both plots together would be appreciated.
-A.G.




  • Prev by Date: Re: DiscreteUniformDistribution PDF isn't piecewise?
  • Next by Date: Re: Handheld mathematica
  • Previous by thread: Re: ? about MatrixPlot used with ListPlot
  • Next by thread: Re: ? about MatrixPlot used with ListPlot