I have a piece of code that works well, but when I put a semicolon after a plotting statement, the semicolon appears in red. What's the error?
It's not a syntax mistake. Consider it a suggestion,
Of course it may have sense, it's just a suggestion.
If you take a closer look you will find that storing such
A bit of historic background
Before Mathematica version 6 graphics were produced as a side-effect much as
Now you get this behavior:
Note that the output is
In version 6 syntax highlighting of that trailing semicolon was added to remind people that with it no output at all would be produced, since the