# \[?\] Plot a Sin function with the following style?

**URL:** <https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486>\
**Category:** Questions\
**Tags:** calculus, graphics-and-visualization\
**Created:** [December 27, 2018, 12:28am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486 "2018-12-27T00:28:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vungocviethoang98](https://avatars.discourse-cdn.com/v4/letter/v/ee59a6/32.png) [@vungocviethoang98](https://community.wolfram.com/u/vungocviethoang98)\
**Post date:** [December 27, 2018, 12:28am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486/1 "2018-12-27T00:28:43Z")

</div>

![pyds_04in22.png](https://global.discourse-cdn.com/wolfram/original/2X/4/4a6de478a3e488a242ef6f8ddda2d7463b573e11.png)

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

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [December 27, 2018, 4:59am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486/2 "2018-12-27T04:59:32Z")

</div>

What have you tried thus far?

---

<div class="post-metadata">

**Author:** ![vungocviethoang98](https://avatars.discourse-cdn.com/v4/letter/v/ee59a6/32.png) [@vungocviethoang98](https://community.wolfram.com/u/vungocviethoang98)\
**Post date:** [December 27, 2018, 5:46am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486/3 "2018-12-27T05:46:34Z")

</div>

I can’t plot it with line style as showed

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [December 27, 2018, 10:28am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486/4 "2018-12-27T10:28:10Z")

</div>

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

 ![2977plot.jpg](https://global.discourse-cdn.com/wolfram/original/3X/a/f/afb6c689a5d2f6f00b6c2e74cc3ac25bc77bb53e.jpeg)

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [December 27, 2018, 11:27am UTC](https://community.wolfram.com/t/plot-a-sin-function-with-the-following-style/13486/5 "2018-12-27T11:27:43Z")

</div>

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.
