# Revision history [back]

### How to plot a polygon with distinct colors for border and interior ?

I would like to have a green polygon with black border. I can achieve this by superposing two polygons:

sage: polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)+polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)


Is is possible to do that with one polygon ?

### How to plot a polygon with distinct colors for border and interior ?

I would like to have a green polygon with black border. I can achieve this by superposing two polygons:

sage: polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)+polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)


Is is it possible to do that with one polygon ?

### How to plot a polygon with distinct colors for border and interior ?

I would like to have a green polygon with black border. I can achieve this by superposing two polygons:

sage: polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)+polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)


Is it possible to do that with one polygon ?

### How to plot a polygon with distinct colors for border and interior ?

I would like to have a green polygon with black border. I can achieve this by superposing two polygons:

sage: polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)+polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)


Is it possible to do that with one polygon ?

### How to plot a polygon with distinct colors for border and interior ?

I would like to have a green polygon with black border. I can achieve this by superposing two polygons:

sage: polygon([[0,0],[0,1],[2,1],[1,0]],color='limegreen',fill=True)+polygon([[0,0],[0,1],[2,1],[1,0]],color='black',fill=False)


Is it possible to do that with one polygon ?