I want the the dots replaced by crosses in the following plot
Plot[Sin[x],{x,0,6.5},PlotStyle ->{Blue,Dotted}]
Could anyone help please?
I want the the dots replaced by crosses in the following plot
Plot[Sin[x],{x,0,6.5},PlotStyle ->{Blue,Dotted}]
Could anyone help please?
Using MeshFunctions->{"ArcLength"} to get equally spaced mesh points and post-processing Points to "\[Cross]"s:
Plot[Sin[x], {x, -2 Pi, 2 Pi}, PlotStyle -> None, Mesh -> 60,
MeshFunctions -> {"ArcLength"}, MeshStyle -> Blue] /.
Point[x_] :> (Text[Style["\[Cross]", 12], #] & /@ x)

Notes:
As noted by @Mr.Wizard in the comments, to get equal arclengths we need to use AspectRatio->Automatic:
Plot[Sin[x], {x, -2 Pi, 2 Pi}, PlotStyle -> None, Mesh -> 60,
AspectRatio -> Automatic, MeshFunctions -> {"ArcLength"},
MeshStyle -> Blue, PlotRangePadding -> .2, ImageSize -> 500] /.
Point[x_] :> (Text[Style["\[Cross]", 12], #] & /@ x)

Also, as noted in Point Renderings Slightly Off in Mathematica
Precise positioning is not really achievable when glyphs from a font are used as plot markers
This issue can be dealt with using the third argument of Text, e.g., Text[Style["\[Cross]", 30], #, Scaled[{.5, .46}]] as suggested by @Mr.Wizard in the comments (see also this answer by Mr.W). Alternatively, we can make a graphics version of \[Cross]
cross = First[First[ImportString[ExportString[ Style["\[Cross]", Italic,
FontSize -> 24, FontFamily -> "Times"], "PDF"], "PDF", "TextMode" -> "Outlines"]]]
and use Inset[Graphics[{Blue, cross}, ImageSize -> 8], #] & instead of Text[Style["\[Cross]", 12], #] & above.
Text[Style["\[Cross]", 30], #, Scaled[{.5, .46}]] compensate for glyph offset, re: (75342).
– Mr.Wizard
Mar 11 '17 at 07:55
ScalingFunctions like I did here.
– Michael E2
Mar 11 '17 at 14:20
ScalingFunctions work in Plot.
– kglr
Mar 11 '17 at 15:16
PlotRange -> 1.02 {{-GoldenRatio, GoldenRatio}, {-1, 1}} with the ScalingFunctions in arclengthmesh[]. The factor 1.02 should probably depend on PlotRangePadding, which is Scaled[0.02] by default. Maybe it's not worth pursuing, since the way ScalingFunctions works has changed.
– Michael E2
Mar 11 '17 at 15:40
Import::general: Unknown font type /CIDFontType0. Any ideas what is wrong?
– Kvothe
Sep 12 '18 at 10:17
ListPlot[Table[Sin[x], {x, 0, 6.5, 0.25}], PlotMarkers -> "+" ]– LouisB Mar 11 '17 at 06:16