Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. data = Table[RandomReal[], {x, 1, 10}]
  2. myListPlot[data_, opts_] := ListPlot[data, GridLines -> {None, {data[[1]]}}, opts]
  3. myListPlot[data, {PlotStyle -> Red, Joined -> True}]
  4.  
  5. myListPlot[data, PlotStyle -> Red, Joined -> True]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement