Plotting 0.3 on ListPlot with Variable Domain

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
member 428835
Hi PF!

I type the following into Mathematica:

domain = -10;
ListPlot[{0.3}, PlotMarkers -> {{"\[LongDash]", Large}},
PlotRange -> {{0, 5.5}, {-10, 200}}]

And notice we see the plot 0.3. But, now let domain = 0. Notice now we can't see 0.3. Does anyone know how to fix this?
 
Physics news on Phys.org
I don't see why the value of domain would play a role here. I get the same result in both cases.
 
DrClaude said:
I don't see why the value of domain would play a role here. I get the same result in both cases.
Are you using 11.3? Also, I misspoke: I said domain but I meant range.