Skip to main content
Werner_E
Werner_EAnswer
25-Diamond I
Oct 15, 2014 9:41 AM UTC

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.

8 replies

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
Oct 15, 2014 9:41 AM UTC

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.

Translate
1-Visitor
Oct 15, 2014 12:09 PM UTC

Thanks Werner,

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

Translate
Werner_E
25-Diamond I
Oct 15, 2014 1:13 PM UTC

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).

Translate