Image for "Basic plots - plot" should hint at markers
See original GitHub issueCurrently the image is just sine line, which could trick users in thinking that plot
is for lines and scatter
is for markers.
I propose to additionally show another set of values with markers, e.g. something like:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (6 by maintainers)
Top Results From Across the Web
A Complete Guide to Scatter Plots - Chartio
Scatter plots are an essential type of data visualization that shows relationships between variables. Use this tutorial to learn how to use this...
Read more >Matplotlib Cheat Sheet. Basic plots, include code samples.
Every axes has an x-axis and y-axis for plotting. Ticks are the markers denoting data points on axes, that is, the values used...
Read more >using custom images instead of standard shapes for R line ...
My intended use is in a line chart where the markers will appear on the legend as well. The answers here ( Labelling...
Read more >how to set a marker at one specific point on a plot ... - MathWorks
Direct link to this answer ... Alternatively, starting in R2016b, you can specify the MarkerIndices property to plot a line with markers at...
Read more >Plotting with basic glyphs - Bokeh documentation
Bokeh's built-in scatter markers consist of a set of base markers, most of which can be combined with different kinds of additional visual...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
scatter
is for when you need a third dimension, either represented as marker size or color. Otherwise, you should just useplot
.I argue the other way round: From the data semantics:
plot()
is primarily for functional relationship y = f(x) so that there is only one y per x. Whether you draw this with single markers or lines or both is a stylistic choice.scatter()
is for drawing points in the (x, y) plane, and optionally adding additional information like color and size.