Message Boards Message Boards

0
|
6196 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Why I cant see plot line by plot?

Posted 9 years ago

Hello, I am beginner of mathematica. Today I tried to test plot function and I couldn't see my plot .

How can I see that?

plot test

POSTED BY: Modong Tan
3 Replies
Posted 9 years ago

Hello luis and thanks for your reply,

I posted wrong graph image when I tested Piecewise function (https://reference.wolfram.com/language/ref/Piecewise.html).

Thank you for pointing out the mistake

f[t_] := Piecewise[{{t^2, t < 0}, {t, t > 0}}]

Plot[f[t], {t, -2, 2}]

POSTED BY: Modong Tan
Posted 9 years ago

When I read your comment i stayed with the next question, why does your chart is different from a parable", I did it with the following code, and indeed i graph a parable, i am showing you what I did.

image

POSTED BY: Luis Ledesma
Posted 9 years ago

Eventually, the problem was resolved.

f[t_] := t^2 Plot[f[t], {t, -2, 2}]

plot

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

Group Abstract Group Abstract