Is there anyway to plot an analytical function using symbols + lines rather than only lines?

Something like the plot shown in this figure:

enter image description here

  • 1
    $\begingroup$ Lookup Dashing and PlotMarkers, and if you want help always provide a code sample to work with. $\endgroup$ – Kuba Nov 21 '17 at 7:22
f[x_] := x^2;
  {x, 0, 5},
  PlotStyle -> Dashed],
ListPlot[Table[{x, f[x]}, 
  {x, 0, 5, .5}],
  PlotStyle -> Red]
| improve this answer | |
  • 1
    $\begingroup$ Does it mean that ‘ListPlot’ has to be used to obtain symbols/markers? Is there any ‘Plot’ only solution? $\endgroup$ – nidhin Nov 22 '17 at 3:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.