Plotting symbols filled with pattern(s) [message #92125] |
Fri, 16 October 2015 06:45  |
andry
Messages: 7 Registered: March 2013
|
Junior Member |
|
|
Hi,
Could anybody point me to some help on plotting symbols with filled pattern? Something like "plotsym.pro" but allowing to fill the symbol with pattern.
Thanks in advance,
Andry
|
|
|
Re: Plotting symbols filled with pattern(s) [message #92130 is a reply to message #92125] |
Fri, 16 October 2015 07:50   |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
On Friday, October 16, 2015 at 9:45:41 AM UTC-4, andry wrote:
> Hi,
>
> Could anybody point me to some help on plotting symbols with filled pattern? Something like "plotsym.pro" but allowing to fill the symbol with pattern.
>
> Thanks in advance,
>
> Andry
To my knowledge there isn't any off-the-shelf utility for this. But it wouldn't be that hard to create the symbol with some auxiliary function:
pro circle,x,y,RADIUS=radius
;compute circle
;plot circle
polyfill, pattern=pattern
end
then loop over the data points in your plot and call this procedure each time. It's ugly and probably slow if you have a lot of data --- but if you have a lot of data, then plotting a pattern like this is gonna be costly anyway.
-Russell
|
|
|
|