Message Boards Message Boards

GROUPS:

[✓] Plot a Sin function with the following style?

Posted 2 months ago
442 Views
|
4 Replies
|
3 Total Likes
|

enter image description here

How to draw a graph as shown for the function y = Sin [x]? I have difficulties and hope everyone will help me.

4 Replies

What have you tried thus far?

I can't plot it with line style as showed

Posted 2 months ago
Show[
 Plot[Sin[x], {x, 0, 10}, GridLines -> Automatic, PlotRange -> {{0, 10}, {-1, 1}}, PlotStyle -> Black],
 ListPlot[Table[{x, Sin[x]}, {x, 0, 10, .3}], PlotStyle -> {PointSize[.02], Black}]
]

enter image description here

Almost identical:

Plot[Sin[x], {x, 0, 10}, Mesh -> 30, PlotStyle -> Black, 
 MeshStyle -> Directive[PointSize[Large], Black], 
 GridLines -> Automatic, Frame -> True, Axes -> {False, True}]

Regards MI.

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