I have two sets of data that need to plot on the same graph. A set is very large (~ 10⁶) and I want to plot with hexbin, and the other set is very small (~ 10) and I want to plot the points. How do I plot points on...

I populate a grid data=zeros(n,n); with 0's and 1's (could also be thought of as an adjacency grid, if you'd like). I just want to plot the grid with colors according to whether the value at that point is 0 or 1. For example, scatter(1:n,1:n,data); It gives me the error:...

I'm using Weka to develop a classifier for detecting semantic relations. Lets supose I have a multiclass dataset. The dataset, at first, contains 4 numeric features (could be over 4) and a class attribute, where a valid class attribute value is "HYPERNYM", "SYNONYM" or "NO", i.e., three classes. So, examples...

I'm creating a zoomable scatterplot based on the following examples: Scatterplot D3 Scatterplot Example What Career Should I Invest In? I've added a button to change the category for the x axis from Calories to Carbs and the chart is updated correctly. But when I try to zoom with the...

This question already has an answer here: 3D scatter plot with 4D data 2 answers I have a an nx4 matrix where each row is an observation. The three three columsn represent by variables, and the fourth a 'fitness' parameter. I would like to show this in a 3D...

I'm using the MPAndroidChart library to plot some data from a few sensors. I've found similar questions on SO, but no solutions: Plot Multiple Charts in one in MPAndroidChart MPAndroidChart How to represent multiple dataset object with different number of points in the same chart line The sensors create data...

I want to plot speed vs age. Here's the data: Speed Age 15 <18 30 18-25 40 26-40 32 40+ How do I plot this as a scatter plot in R? I don't know how to do ranges. This is what I have so far. speed<-c(15,30,40,32) ...

so this is my x and y data: x = [29.745, 61.77, 42.57, 70.049, 108.51, 93.1, 135.47, 52.79, 77.91, 116.7, 100.71, 146.37, 125.53] y = [6, 6, 12, 24, 24, 12, 24, 8, 24, 24, 24, 48, 8] stem(x,y); so i want to label each data point on my stem...

I have a scatter plot : fig,ax = plt.subplots(figsize=(6,5),dpi=200) ax.scatter(df1['id'],df1['resellers'],c='red',s=df1['ips']/80,label='AS Size = IPs seen in dnsdb') ax.set_xticks([1,2,4,6,8,10,12,14,16,18,20]) ax.set_xlim(-1,22) ax.legend( scatterpoints=1, loc='best', ncol=1, fontsize=12) I am wondering how can I change the shape and size of the bubble in the legend to rectangular and smaller size. Can anybody help?...

My problem is the following. I have a pandas DataFrame containing the data of a "sample" in the first row and the data of the "controls" on all the other rows. I would like to have a scatter plot (or any other kind of plot to generalize the question) in...

I would like to create a scatter plot in MATLAB using three sets of data. X,Y and c. X and Y are to be their respective axis plots but c holds information (integer values) on each scatter points classification. I wish to make each classification plot as a separate colour....

I'm looking to graph a 4D data set (X, Y, Z, intensity) using opacity to represent intensity. I also want the color to be dependent on the Z variable as well to better show depth. Here is the relevant code so far, I am a novice when it comes to...

I have something like this, and want to turn xlabels 45 degrees (it is going to be rather long text): a<-c(1:10) b<-c(1:10) c<-c(1:10) scatterplot3d(a,b,c, main="3-D Scatterplot",color="blue", pch=19, type="h", lty.hplot=2, box=F, scale.y=.5, lty.grid=1, lab=c(9,5,1), xlab="", ylab="", zlab="") ...

I am exporting the table data to excel and trying to generate a scatter graph for it. The code for generating is as follows, Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet Dim misValue As Object = System.Reflection.Missing.Value Dim i As Integer Dim j As Integer...

I'm making some scatterplots using Matplotlib (python 3.4.0, matplotlib 1.4.3, running on Linux Mint 17). It's easy enough to set alpha transparency for each point individually; is there any way to set them as a group, so that two overlapping points from the same group don't change the color? Example...

I have a very large data set and want the user to be able to slide along the axis to view sections of the data. I'm trying to leverage off of the slider example but I'm unsure of how to update the graph. Hoping someone can explain some of the...

I am trying to use MPAndroidChart in my app but my dataset series contains float values (x and y data) and the library use ArrayList<Entry> that need float and int values...

I am trying to plot a simple scatter plot like this: The minimal code I am using for generating this plot is as follows: ggplot(fig1c, aes(x=xvar, y=yvar)) + scale_x_log10(breaks=unique(fig1c$xvar)) + scale_y_continuous(breaks=seq(0, 10, by=1), labels=as.character(seq(0, 10, by=1))) + geom_point(aes(fill=Method, color=Method, shape=Method), size = 5, guides=FALSE) + scale_colour_brewer(palette="Set1") + geom_line(aes(fill=Method, color=Method)) +...

I am trying to do a scatter plot with speed over meters for each point where marker indicate different types, size indicate different weights and color indicate how old a point is over 10 minutes scale. However, I was only able to plot by size so far. Any help is...

I have a scatter plot of two raster images. What I need is to create a triangle around the scatter plot. So far what I have it minveg <- quantile(veg, 0.01, na.rm=TRUE) mintemp <- quantile(temps, 0.01, na.rm=TRUE) plot(veg, temps, xlab='veg', ylab='temp') abline(h=mintemp, v=minveg) This give me the following image What...

I'm pretty new to the world of R, so please be patient with me ;-) For the last two weeks I've been playing with an old dataset of mine, trying to figure out some stuff in R. What you need to know about my data to help me here, is...

I have this data set where I calculate the percentage of fall given an age. Total Members is the whole date by a given age, and members fallen is the amount of falls within the total member. age status membersFallen totalMember percentage 37 1 208 14824 1.4 38 1 443...

Is there a way to alter the native 'plot order' in Spotfire? Effectively, I want to control which data is plotted in front. My current issue is that data is being hidden by an overlapping data set, and I want to change which data set is plotted in front. I...

I'm working with a pretty simple example. I create three scatter plots on the same set of axes, and each data set I plot has a different associated colormap. However, the legend does not look as I'd want it to; why is this? import numpy as np import matplotlib.pyplot as...

I'm looking for a tool to display 3D scatter plots using JavaScript and found Highcharts' 3D scatter chart which looks nice. Only thing is that I want the chart to have a cubical form since all axis are from 0 to 10. Right now the X-axis is twice the size...

I am having 'similar' issues to Matplotlib, legend with multiple different markers with one label. I was able to achieve the following thanks to this question Combine two Pyplot patches for legend. fig = pylab.figure() figlegend = pylab.figure(figsize=(3,2)) ax = fig.add_subplot(111) point1 = ax.scatter(range(3), range(1,4), 250, marker=ur'$\u2640$', label = 'S',...

I've been able to draw most of the visual components of a scatterplot. I now want to draw some background gridlines using a lighter color. In other words, every X coordinate will have a corresponding vertical background gridline that goes the full height of the Y axis and every Y...

I am trying to make a scatter plot in polar coordinates with the contour lines superposed to the cloud of points. I am aware of how to do that in cartesian coordinates using numpy.histogram2d: # Simple case: scatter plot with density contours in cartesian coordinates import matplotlib.pyplot as pl import...

I'm trying to plot few color values (co-ordinates) on the already plotted CIE 1931 color space. I've derived the XYZ color values which I want to plot, denoted as [X, Y, Z]- [50, 57, 10] [36, 43, 15] [28, 36, 8] [25, 32, 14] I using this function which plots...

I'm using the code below to generate the following chart. # Setup data(airquality) # Device start png(filename = "example.png", units = "cm", width = 20, height = 14, res = 300) # Define chart pairs.chrt <- ggpairs(airquality, lower = list(continuous = "smooth"), diag = list(continuous = "blank"), upper = list(continuous...

So I'm not sure whether this can be done or not, but I want to highlight certain scatter plot points on my graph whilst still retaining the original axis labels. This is a little snip of my data:- (0.5,0.525] 272 (0.925,0.95] 116 (0.975,1] 446 (1,1.025] 2840 (1.975,2] 974 (2,2.025] 1400...