MathGroup Archive 2007

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

Search the Archive

Re: Re: plotmarkers in Listplot


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
>


  • Prev by Date: confusion about Mathematica Print, Messages, Console, Stdout, Stderr and all that.
  • Next by Date: DatabaseLink behaviour change in 6.0
  • Previous by thread: Re: plotmarkers in Listplot
  • Next by thread: Re: Re: plotmarkers in Listplot