Re: Re: plotmarkers in Listplot
- To: mathgroup at smc.vnet.net
- Subject: [mg81328] Re: [mg81259] Re: [mg81242] plotmarkers in Listplot
- From: Syd Geraghty <sydgeraghty at mac.com>
- Date: Wed, 19 Sep 2007 05:33:06 -0400 (EDT)
- References: <200709170736.DAA15582@smc.vnet.net> <200709180433.AAA28523@smc.vnet.net>
Brett,
Scaled does nothing for me. Tried several scaling factors with your
code below with no effect.
The only way I could get desired output is :-
rasterimage = First@Rasterize[Graphics3D[Sphere[], Boxed -> False]];
ListLinePlot[{{1, 2, 3}, {4, 5, 6}},
PlotMarkers -> Graphics[rasterimage, ImageSize -> 50],
PlotRange -> {{0, 4}, {-2, 8}}, Mesh -> All, Frame -> True,
AxesOrigin -> {0, 0}, ImageSize -> {1000, 1000}]
$Version -> "6.0 for Mac OS X x86 (32-bit) (June 19, 2007)"
MacBookPro2,1, Intel Core 2 Duo
2.33 GH
What system & version of Mathematica did you use?
Syd Geraghty
On Sep 17, 2007, at 9:33 PM, Brett Champion wrote:
> On Sep 17, 2007, at 2:36 AM , sdw wrote:
>
>> testing the use of listplot to plot an image at a set of
>> locations, I
>> find that the plotmarkers option does not understand Scale.
>> rasterimage
>> is a Raster primitive, with the desire to place the image at a
>> set of
>> locations defined by listplot.
>>
>>
>>
>> yes, there are potentially other ways to do this, but this should
>> work
>> too!
>>
>>
>>
>>
>>
>> ListPlot[{{1, 2, 3}, {4, 5, 6}}, PlotMarkers ->
>> Graphics[Scale[rasterimage, .2]]]
>>
>
> This works for me:
>
>
>
> rasterimage = First@Rasterize[Graphics3D[Sphere[]]];
>
> ListPlot[{{1, 2, 3}, {4, 5, 6}},
> PlotMarkers -> Graphics[Scale[rasterimage, .2]]]
>
>
>
> What does Head[rasterimage] return for your example?
>
>
>
> Brett Champion
> Wolfram Research
>
- References:
- plotmarkers in Listplot
- From: "sdw" <warwick@jps.net>
- Re: plotmarkers in Listplot
- From: Brett Champion <brettc@wolfram.com>
- plotmarkers in Listplot