Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.9K Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

Empty plot of piecewise function?

Posted 5 years ago
POSTED BY: Ser Man
4 Replies

Do you know the function Floor and friends? Is it this, what you want?

Plot[Floor[x], {x, 0, 10}, Exclusions -> None]

enter image description here

POSTED BY: Henrik Schachner

Too many curly braces. Try this:

f[x] = Piecewise[{{1.5, -6 < x < -5.8}}];
Plot[f[x], {x, -6.5, -5.5}]
POSTED BY: Gianluca Gorni
Posted 5 years ago

Thanks for that, it show now the function, but the plot is still blank.

POSTED BY: Ser Man
Posted 5 years ago

Please check your code. There is no [ ] following Piecewise.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard