Re: combining ArrayPlot with ListLinePlot
- To: mathgroup at smc.vnet.net
- Subject: [mg109854] Re: combining ArrayPlot with ListLinePlot
- From: Vivek Joshi <vivekj at wolfram.com>
- Date: Wed, 19 May 2010 20:15:57 -0400 (EDT)
On 5/19/10 6:01 AM, Vadim Zaliva wrote: > ap = ArrayPlot[Transpose[l]] > lp = ListLinePlot[{a, b, c}] > > Each of 'ap' and 'lp' is shown correctly. However combining them via: > > Show[ap,lp] > > always shows just ap. > > Dimensions[Transpose[l]] is {44, 2000} > a,b,c have same dimension {2000} > > This looks fine to me, l = RandomReal[1, {44, 2000}]; a = ConstantArray[10, {2000}]; b = ConstantArray[20, {2000}]; c = ConstantArray[30, {2000}]; ap = ArrayPlot[l, AspectRatio -> 1]; lp = ListLinePlot[{a, b, c}, PlotStyle -> {Thick}]; Show[ap, lp, FrameTicks -> Automatic] Vivek