# Use Quiet\[Plot\[Piecewise\[... to suppress the errors?

**URL:** <https://community.wolfram.com/t/use-quiet-plot-piecewise-to-suppress-the-errors/10549>\
**Category:** Questions\
**Tags:** graphics-and-visualization, interface-construction\
**Created:** [May 18, 2017, 8:47am UTC](https://community.wolfram.com/t/use-quiet-plot-piecewise-to-suppress-the-errors/10549 "2017-05-18T08:47:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felixspringer149](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@felixspringer149](https://community.wolfram.com/u/felixspringer149)\
**Post date:** [May 18, 2017, 8:47am UTC](https://community.wolfram.com/t/use-quiet-plot-piecewise-to-suppress-the-errors/10549/1 "2017-05-18T08:47:10Z")

</div>

Consider the following code:

```
Manipulate[
     Quiet[Plot[
       Piecewise[{{Subscript[V, 0]*a, 
          x < (a/2)}, {Subscript[V, 
           0]*((a/2) + (2*Abs[x - ((3*a)/4)])), (a/2) <= x <= 
           a}}], {x, -a, a}]], {a, 0, 5}, {Subscript[V, 0], 0, 5}]

```

When I evaluate this it does’nt suppress the errors, does anyone have a solution to this?

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [May 18, 2017, 10:01am UTC](https://community.wolfram.com/t/use-quiet-plot-piecewise-to-suppress-the-errors/10549/2 "2017-05-18T10:01:35Z")

</div>

Platform? Version?

Note that `a` has to be positive (i.e. larger than 0). Plots works fine in my case on a fresh kernel V11.1.1.  
Note as well that Quiet does not suppress errors, it only suppresses messages! Suppressing errors needs to be done by the user…
