[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scatter and Scatter3 functions
From: |
David Bateman |
Subject: |
Re: Scatter and Scatter3 functions |
Date: |
Tue, 20 Nov 2007 10:35:18 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Michael Goffioul wrote:
> On 11/20/07, David Bateman <address@hidden> wrote:
>
>> The attached patch adds the scatter and scatter3 functions. These use
>> patch objects with markers to define the points. This allows the
>> colormap to determine the colors of the point whereas if a line object
>> was used its not clear that this could be done. This of course means
>> that each point has a separate plot command to gnuplot and so with a
>> large number of points this is a bit slow to display initially.
>>
>
> FYI, Matlab also uses patch objects at low-level to represent scattergroup
> objects.
>
Yeah, I guess.. But it seems to me to be an abuse of the patch objects,
since there is no face and no edge, and only a single marker per patch..
It probably would have be better to use a line object for this with a
palette for gnuplot, but that only works in 3D and if the markers are
the same size.
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary