Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'PointSize' topicStudent Support Forum > General > Archives > "PointSize"

Next Comment >Help | Reply To Topic
Author Comment/Response
06/25/12 09:52am


i also post in

I want limit a point by the polygon of a country. On the map of Spain is point. The function Manipulate[] regulate the variable "pointSize" in the function PointSize[]. When increase the point, the edge of the point should not cross the border of the land - But only at the point were the edge contact the border. At the other points of the edge the point size should be still go on.
Hier der Code für die Landdesgrenzen und den Punkt. At the end spain has to be red, but not the ozean. Hier is the code of the map and the point.

Manipulate[ Show[Graphics[{
(*Background color.*)
Background -> RGBColor[0.9, 0.9, 0.9],
(*Color of the country.*)
RGBColor[0.4, 0.4, 0.4],
(*Border of country whit polygon*)
CountryData["Spain", "Polygon"],
(*Coordinate of the point at{-3.71`,40.42`}.*)
Red, {PointSize[pointSize], Point[{-3.71`, 40.42`}]}
}]], {pointSize, 0, 1}]

URL: ,

Subject (listing for 'PointSize')
Author Date Posted
PointSize MaxiWenz 06/25/12 09:52am
Re: PointSize Michael 06/25/12 6:05pm
Re: Re: PointSize MaxiWenz 06/28/12 03:36am
Re: Re: PointSize MaxiWenz 06/28/12 03:57am
Re: Re: Re: PointSize Michael 06/29/12 7:34pm
Next Comment >Help | Reply To Topic