Skip to main content
Best answer by Werner_E

I guess you can find a lot of nice ways to shade, color, hatch an area in the "Amazing Images" E-Book.

Byrge Birkeland also had posted a sheet (unfortunately Prime) specifically about shading a region here:

http://communities.ptc.com/docs/DOC-3495

Some other link which might be of interest:

http://communities.ptc.com/message/205924#205924

http://communities.ptc.com/message/158074#158074

http://communities.ptc.com/message/233004#233004

In your case you might first define a piecewise function following your horizontal marker and then the green line and use bars or error bars to shade the area underneath.

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
October 15, 2014

I guess you can find a lot of nice ways to shade, color, hatch an area in the "Amazing Images" E-Book.

Byrge Birkeland also had posted a sheet (unfortunately Prime) specifically about shading a region here:

http://communities.ptc.com/docs/DOC-3495

Some other link which might be of interest:

http://communities.ptc.com/message/205924#205924

http://communities.ptc.com/message/158074#158074

http://communities.ptc.com/message/233004#233004

In your case you might first define a piecewise function following your horizontal marker and then the green line and use bars or error bars to shade the area underneath.

1-Visitor
October 15, 2014

Thanks Werner,

A few good examples, but no easy way to achieve such a simple task.

1-Visitor
October 15, 2014

Nice, very nice indeed. I think will be going in the collection.

Werner Exinger wrote:

I am also cheating on the boundary values of the plot to be able to show the border.

I've had to do that before. Anther example of poor performance, but no moaning tonight