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.

25-Diamond I
October 15, 2014

Here is a much quicker AreaFill routine. As you can't show a dotted area anyway there is no need for the numerous intermediate points which the other routine creates.

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