Questions tagged [scatter]

A scatter plot is a type of mathematical diagram using Cartesian coordinates to display values for two variables for a set of data.

A scatter plot is a type of mathematical diagram using Cartesian coordinates to display values for two variables for a set of data.

943 questions
2
votes
1 answer

How to show full scatter point marker on axis using matplotlib?

I am using matplotlib to draw a scatter figure. Some of the data is located on the y-axis, but they cannot show full marker. I have failed to try to use zorder to set the order of axis and scatter marker and change the figure size. import numpy as…
HW_Tang
  • 97
  • 2
  • 9
2
votes
1 answer

How to plot animated scatterplot using seaborn / matplotlib changing colour of fixed or moving marker over time

I am trying to plot the readings of several air pollution sensors over time. In the first case the location (lat, long) of each sensor is fixed on the scatterplot but at different times of the day, or times of the year the colour will change…
2
votes
1 answer

Checking missing combination of co-ordinates in a 4D plot and adding dummy values for the missing combination

I have a 4D plot plotted using matplotlib with the 4th dimension being color. Lets assume the range of all the 3 axes to be 0 to 5. Array for plot looks something like this - [0,1,2,50],[1,2,3,40],[5,5,5,80]. So I will see 3 points on co-ordinates…
spnsp
  • 163
  • 1
  • 8
2
votes
1 answer

Saving JavaFX chart to pdf does not show the x and y -axsis values

So I have this scatter diagramm: final NumberAxis xAxis = new NumberAxis(0, 10, 1); final NumberAxis yAxis = new NumberAxis(-100, 500, 100); final ScatterChart sc = new ScatterChart(xAxis, yAxis); xAxis.setLabel("Age…
plshm
  • 288
  • 3
  • 20
2
votes
2 answers

Pandas scatter plot by category and point size

So I had the idea to using a single Pandas plot to show two different datum, one in Y axis and the other as the point size, but I wanted to categorize them, i.e., the X axis is not a numerical value but some categories. I'll start by illustrating my…
Leonardo
  • 1,533
  • 17
  • 28
2
votes
1 answer

plot ordering/layering julia pyplot

I have a subplot that plots a line (x,y) and a particular point (xx,yy). I want to highligh (xx,yy), so I've plotted it with scatter. However, even if I order it after the original plot, the new point still shows up behind the original line. How can…
jjjjjj
  • 1,152
  • 1
  • 14
  • 30
2
votes
3 answers

'Series' object has no attribute 'columns' when trying to plot a scatter matrix in python

Hi I am new to python and working with jupyter notebook, so any help would be greatly appreciated!. I am having trouble plotting a scatter matrix. I have imported my csv file and I have a column with 'Names' of drugs. So I want to get how many times…
Katie
  • 45
  • 1
  • 7
2
votes
0 answers

Chart.js rectangle with lines on same X

I'm trying to draw a mass and balance diagram with Chart.js. Basically it's a rectangle. This is my code so far (as a test): const data: any = { //labels: ["L1", "L2", "L2+", "L3"], datasets: [ { …
2
votes
1 answer

Plotting scatter plot by groups in r

Is there any function in r that allows the plotting of this kind of scatter plots, which separates the dots by group? Here is what I have done so far: hours = c(0.00 ,-1.78 ,-0.50 ,-2.00 ,-2.80 ,2.00 ,-0.16 ,-0.34 ,1.00 ,1.00 ,2.00 …
TYL
  • 1,577
  • 20
  • 33
2
votes
0 answers

define two execution regions on arm9

I am using ARM 9, all code stored on flash. Flash contains booter (boot loader) and two load regions. How can I build my binary so I can use same binary and be able to store it in load region 1 or load region 2? Using the scatter file I configured…
kslavka
  • 54
  • 6
2
votes
3 answers

How to reduce the number of data points in a scatter chart?

Currently I have a problem for plotting a huge amount of X,Y data in a scatter chart by using the plotly's engine and python. So the browser can't actually render this amount of points without crashing after some time. (I've also tried the Scattergl…
user8365688
2
votes
1 answer

Scatter plot with coloured groups and different markers within a group

I am trying to make kind of a scatter plot with different groups. In addition to this I would like to have 2 different markers and one color for each set of 2 points, which are also connected with a line. But see below for details I have 4 matrices…
NinaG
  • 79
  • 7
2
votes
0 answers

Maximum call stack size exceeded in plotly 3d scatter plot

I am implementing a 3d scatterplot using plotly.js and the task I am currently working on - change the color of the dot when you hover (or click - does not matter) on it. I have found the example that works perfectly well for the 2d scatter plot.…
JDnepr
  • 23
  • 4
2
votes
2 answers

Python scatter plot over background image for data verification

I am trying to plot data over a background image in Python for the purpose of data verification, i.e. to see how close the curve I have generated from my own data fits one from a paper that I have a screenshot of saved as a png. I have tried the…
Andrew Hills
  • 23
  • 1
  • 4
2
votes
2 answers

Find volume of 3d peaks in matlab

right now I have a 3d scatter plot with peaks that I need to find the volumes for. My data is from an image, so the x- and y- values indicate the pixel positions on the xy-plane, and the z value is the pixel value for each pixel. Here's my scatter…
Anonymous
  • 239
  • 4
  • 16