Re: The behaviour of DisplayTogether
- To: mathgroup at smc.vnet.net
- Subject: [mg17342] Re: The behaviour of DisplayTogether
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Mon, 3 May 1999 01:45:50 -0400
- References: <7gdrt6$ov8@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Gianluca:
DisplayTogether[
Evaluate[
Table[
Plot[a x^2, {x,-2,2}, DisplayFunction->Identity],
{a,3}
]
]
];
DisplayFunction->Identity prevents the display when Table is evaluated.
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
<giancruc at tin.it> wrote in message news:7gdrt6$ov8 at smc.vnet.net...
> Hello, everybody.
>
> My problem:
> I would combine graphics in a single plot using a simple iteration;
> for example, instead of
>
> DisplayTogether[{Plot[x^2,{x,-2,2}],Plot[2 x^2,{x,-2,2}],
> Plot[3 x^2,{x,-2,2}]}]
>
> I'd like to use:
>
> DisplayTogether[Table[Plot[a x^2,{x,-2,2}],{a,3}]]
>
> but this second syntax doesn't work (apparently because of the delayed
> iteration in a), while the previous one has no problems.
> Would someone please help me?
>
> Gianluca Cruciani
> giancruc at tin.it
> Gianluca Cruciani
>
>