Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: plotmarkers in Listplot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81259] Re: [mg81242] plotmarkers in Listplot
  • From: Brett Champion <brettc at wolfram.com>
  • Date: Tue, 18 Sep 2007 00:33:09 -0400 (EDT)
  • References: <200709170736.DAA15582@smc.vnet.net>

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: Re: Button Help Example
  • Next by Date: Re: piecewise functions from logical relationships (ie. solving with constraints)
  • Previous by thread: plotmarkers in Listplot
  • Next by thread: Re: Re: plotmarkers in Listplot