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

Mike Armstrong wrote:

Thanks Werner,

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

I agree that shading/filling/hatching an area should be a feature out of the box. In the meantime we have to do it ourself, sort of write-once/use-many.

In your case its even more difficult because you switched dependent and independent axis (so error bars won't work) and you also changed the orientation of the vertical axis (so showing the hatch as a bunch of points doesn't work in the attached sheet).