About 85,100 results
Open links in new tab
  1. python - How can I do a matplotlib scatter plot with a categorical x ...

    Nov 14, 2021 · But you can use the following code to create a scatter plot with categorical data. I chose to plot the 'Order' column as y-values, but you can also modify the code to plot something else or …

  2. Matplotlib scatter color by categorical factors - Stack Overflow

    I have a basic scatter where the x and y are float. But I want to change the color of the marker based on a third categorical variable. The categorical variable is in a string form. This seems to c...

  3. plot different color for different categorical levels - Stack Overflow

    I have this data frame diamonds which is composed of variables like (carat, price, color), and I want to draw a scatter plot of price to carat for each color, which means different color has differ...

  4. Scatter plot with only categorical data - Stack Overflow

    May 18, 2016 · You can create a dataframe with your categorical variables (note the dtype='category' argument to the dataframe createion), then get the numerical codes for each categorical variable, …

  5. Pandas scatter_matrix - plot categorical variables

    Jan 20, 2015 · A scatter plot is not a good choice for categorical variables, so it wouldn't really make sense to "add" those variables to this scatter matrix. You could do a different set of plots involving …

  6. How to create a scatter plot by category - Stack Overflow

    I am trying to make a simple scatter plot in pyplot using a Pandas DataFrame object, but want an efficient way of plotting two variables but have the symbols dictated by a third column (key).

  7. Scatter plot with two categorical variables in ggplot2

    Aug 8, 2021 · I'm trying to make a scatter plot with the data provided below. I would have on the x-axis the values of two columns namely "Locus_ID" and "Start" which corresponds …

  8. plot - Excel create scatterplot by categorical variable - Stack Overflow

    Apr 13, 2022 · Excel create scatterplot by categorical variable Asked 3 years, 8 months ago Modified 3 years, 8 months ago Viewed 2k times

  9. How do I create a categorical scatterplot in R like boxplots?

    Sep 13, 2012 · Does anyone know how to create a scatterplot in R to create plots like these in PRISM's graphpad: I tried using boxplots but they don't display the data the way I want it. These column …

  10. plot - How to make scatterplot with two categorical variables on x-axis ...

    The second graph gives a scatterplot (artificially creating numbers for the second categorical variable), but then I loose the labels for my second categorical variable and it plots both times in one space. To …