Most voted "graphic" questions
Graph is the attempt to visually express data or numerical values in different ways, thus facilitating their understanding. There are several types of charts and the most used are columns, lines and circular ones. If the question is not about "Graph", do not use this tag, even if you are using "Graph" in your project.
Learn more…162 questions
Sort by count of
-
13
votes1
answer1466
viewsHow to make a bubble chart, each filled in according to a ratio
I’m trying to make a chart like this on R: The graph is available on this link. I don’t need it to be dynamic like the link, but if it is, no problem. In it, each bubble is divided between the blue…
-
11
votes1
answer573
viewsDispersion graph with marginal histograms
I wonder if there is a way to make a chart similar to this in the R: It is possible to make a dispersion Plot and to the side or below, as it presents the image, place the histogram representing the…
-
8
votes1
answer881
viewsMapping video card memory to access via Intel compatible x86 processor
Thinking of Intel compatible x86 computers, without considering the facilities provided by modern operating systems, anyone who wants to draw/write something on the computer screen can access some…
-
8
votes1
answer424
viewsGraph of Machine Learning
I have a problem to generate a graph using Python - Machine Learning - Naive Bayes model - would plot an F1 (score) for the different values of K, below we have the classifier that gives me the…
-
7
votes1
answer1031
viewsHow do I know if a point (x, y) is within the filled percentage of a pie chart?
I arrived at this code showing whether a point (x, y) is inside or outside a circle on a Cartesian plane. def dentro_fora(p, x = 0, y = 0): r = cx = cy = 50 if (x - cx)**2 + (y - cy)**2 < r**2:…
-
5
votes2
answers361
viewsHow to Create a Bubble Plot
Anyone with experience in formulating this graph? I am very doubtful, especially in the diameter of the circles and in the placement of the variable of the X-axis. I am a doctoral student at UFPE…
-
5
votes2
answers3756
viewsChart of average profiles (including error bars)
I have a dataset that I titled Amazonia, which can be downloaded in this link. I need to construct a chart of average profiles (including error bars) of the newborn weight variable ('weight'…
-
5
votes1
answer3753
viewsHow to change the y-axis scale on a line chart
I’m trying to plot a graph where the points on the y-axis vary in decimal places but I couldn’t adjust the axis scale to vary in decimal places as well. t_mean = c(30.24, 30.73, 30.94, 31.97, 31.28,…
-
5
votes2
answers817
viewsOverlay graphics in R with ggplot
Hello, consider two data frames: df = the number of students who answered items A,B,C,D and E of a 6-question test ITENS <-c("A","B","C","D","E") Q.1 <-c(10,20,10,40,10) Q.2…
-
5
votes2
answers333
viewsLabels for Plot box in ggplot2
I have this graph created by the function geom_boxplot. Would you like to label each boxplot correctly. What am I doing wrong? I am using the wrong factor?…
-
4
votes1
answer1187
viewsHow to delete axis title in graphics in R?
I am doing multiple regressions for the same variable X and filling together using the command par(mfrow) in the R. But I want to put only one title on the X axis at the end of all my charts. I…
-
4
votes1
answer141
viewsOverlay words on the R software graph
Hello, I made a chart in R, but the words were overlaid, I would like help to fix it. Follow the chart to see how it looked. Hug.…
-
4
votes1
answer1152
viewsAxes of a Cartesian plane changing according to the HTML5(canvas) + JAVASCRIPT zoom
Guys, here’s the thing, I’m doing it with js + html5 and canvas a program to plot graphics: I would like to implement a zoom + and -, as in the image, and return to the original zoom by clicking…
-
4
votes1
answer730
viewshow to place histogram values on top of bar
I’m using the Histogram command from the Lattice library on R. I would like to know how I can put the value on top of the bars, value I speak is the histogram count. Ex:…
-
4
votes1
answer103
viewsStacked area chart
I’m trying to make an area chart according to the image below: But I’m using a different database than the one used for this graph and I’m having some questions: 1- I am using the following code:…
-
4
votes1
answer3746
viewsHow to change the font on a chart in R?
I want to use the source Times New Roman on the chart, but the R/Rstudio returns an error message saying not to find it. Obviously the source is somewhere because I use MS Word, for example. A while…
-
4
votes1
answer1221
viewsTake values from a table and place in an HTML graph
I made a database and this is feeding a table. I wonder how it would be to take such table data and plot on a graph. In the code below is already the graph with fictitious values. <! DOCTYPE html…
-
4
votes1
answer175
viewsHow to loop to generate graphics in R?
Consider the following Data Frame: ITENS <-c("A","B","C","D","E") Q.1 <-c(10,20,10,40,10) Q.2 <-c(5,25,0,50,10) Q.3 <-c(15,20,5,40,10) Q.4 <-c(15,30,5,30,5) Q.5 <-c(20,25,5,20,15)…
-
4
votes1
answer342
viewsBar graph with different colors in ggplot2
I have a bar graph in the R with percentage variation, I would like the negative percentage values to be red, as in this example: But my chart is getting this way: Code I am using:…
-
4
votes1
answer113
viewsLine segments leaving the interior of a map of brazil using package ggrepel
I am trying to reproduce the format of the map below, however, I have been facing some problems to insert these "straights" on the map. After a search, I found the package ggrepel that brings with…
-
4
votes1
answer161
viewsAdd different scales in matplotlib
I would like a help to configure the Y-axis scale. When trying to plot a bar graph with low and high values, the smaller ones end up not appearing in the scale. I tried some options, but it does not…
-
3
votes0
answers162
viewsAdd horizontal line in a Dbchart for a defined value of the y-axis
I have a chart DBChart with a series of values float on the axis y and datetime in the x. I wanted to add a horizontal line according to a defined axis value y. The DBChart has the function to add…
-
3
votes2
answers702
viewsHow to add a second Y axis using the matplot function?
I have two sets of data with different scales and would like to plot the two on the same graph, the second is derived from the first. I’m using the code below, but it doesn’t work the way I want,…
-
3
votes1
answer493
viewsHow to turn plot of scatter into density?
I would like to know how to turn a dot dispersion graph into a dot density graph in the region, for example, where there are few dots the color of the region will be clear, where there are many dots…
-
3
votes1
answer132
viewsCustom Line Chart - any tool
I need to create a line chart (python, R or even excel), where each line is a product category, the y axis is the sale and x is the time. If the sale is above the finish line, the line stays of one…
-
3
votes1
answer81
viewsDoes Matlab enable interactive (real-time) data export?
Good afternoon, I am using Matlab in order to receive real-time HTML data to generate graphs that are constantly updated, but I still haven’t found anywhere how I could export these graphs to other…
-
3
votes1
answer207
viewsHow to plot a graph in python using a file containing numpy arrays?
Good afternoon! I am creating a python program that plots the graph of the quadratic function (y=x**2), however, you need to put the data of x and y in a file and plot the graph by extracting the…
-
3
votes1
answer42
viewsGraph generation error in R
Hello, I’m trying to create a chart from a list, but I’m not getting it. The download part works perfectly: # download adj. price data - Asset[1],Asset[2]... symbols= c("TIET4.SA","BVMF3.SA",…
-
3
votes1
answer99
viewsHow to force Highcharts to show all points?
I use the API highcharts to generate graphs from information collected in a database, the problem is that when it comes to many points in your series, it HIDES and GENERATES an Average in periods..…
-
3
votes1
answer221
viewsAlgorithm for connecting dots on a graph with curved lines
I need to develop an algorithm that connects dots in a way nonlinear, that is, with smooth curves, as in the image below: The problem is I can’t find the best solution, whether using Bezier curves,…
-
3
votes1
answer91
viewsExcessive use of pens c#
Good morning friends, I am developing an application that should draw 4 graphics (for now), to draw in the way intended need to redraw the graphics several times and update them. With excessive use…
-
3
votes1
answer111
views -
3
votes1
answer648
viewsMake a histogram with a Gaussian curve in Python
It’s the first time I do a Python histogram, but I’m not getting the same Python histogram I got in Excel. Also, I wanted to put a Gaussian curve and the mean with the uncertainty of it next to the…
-
2
votes1
answer655
viewsHow to generate data for Graphics
I am making a page that will have several types of graphics... But my base is coming by jQuery, Example: var wo = new Array(); var listItemEnumerator = this.customlist.getEnumerator(); while (…
-
2
votes1
answer135
viewsCompare different columns
It is possible to generate the pie chart (pie) by comparing different columns of a DataTable? I mean, I have one DataTable with 2 columns of values and wanted to create a pie chart for each row of…
-
2
votes1
answer427
viewsGraphics Generation Framework for a Desktop System in Java
Good afternoon, I’m developing a system desktop in Java and in it I need to provide data visualizations through graphs. I would like to know if anyone knows, has heard or has used any framework for…
-
2
votes1
answer3144
viewsTwo charts on the same page with Chart.js
I wanted to put two graphs on the same page only one appears to me. <div id="canvas-holder"> <canvas id="chart-area" /> </div> <div id="canvas-holder"> <canvas id="pie"…
-
2
votes2
answers489
viewsHow not to overlap labels(Annotations) in google Harts?
I am developing a line chart, where the labels(Annotations) are fixed, but some points are very close to each other, thus superimposing a label on the other. I wonder if you have any way to change…
-
2
votes1
answer1824
viewsVuejs Graphics Creation Library?
I’m in need of graphics generation, and I’m using the Vuejs framework, along with Quasar. I wonder if anyone knows or knows any library so I can generate these graphics; I’ve seen some, but the…
-
2
votes1
answer88
viewsHow to chart in r with variable titles?
I need to create a function that returns graphics in which the title name contains the variable name, as in the example. Dados<-c(5,4,8,9,2,1,6,2,5) Validação <- function(y){ plot(y,…
-
2
votes1
answer159
viewsUse of summarySE function for graph construction in ggplot2
Hello, I am looking for an aid to improve a script in R. I develop it with the help of the ggplot2 package. I have some errors and would like to get some feedback. In the study, I evaluated the…
-
2
votes1
answer128
viewsProblem with graph c#
Good morning guys, I’m developing a program in which should be plotted several line graphics(x,y) on the screen, the y axis corresponds to serial port where is connected an Arduino UNO. As an…
-
2
votes0
answers40
viewsCustom line chart
Good morning, I am developing a program in c# that should draw a line chart(x,y) in a picturebox(pcbANALISE) according to the data I have in a list (aquisicaodata[ ]). This chart also has a scroll…
-
2
votes1
answer600
viewsHow to order x-axis that is date in ascending order?
I have a graph where the x-axis are the dates, but when ordering chronologically, because before it was in alphabetical order, the information of the graph is wrong because the data follows the…
-
2
votes0
answers94
viewsLabel reversed Stacked Bar R
The feminine/masculine colors pros generos appear correctly on the chart, however, when I add "Labels" the amount that is gen F appears below and gen M appears in the middle p4 <- ggplot() +…
-
2
votes1
answer699
viewsPlot of lines with months on the x-axis in ggplot - R
I’m taking R classes and an exercise came up to make a chart of lines on ggplot2 with data of flight delays per airport. On the X axis should stay the months (which are in numbers), but when…
-
2
votes1
answer168
viewsDisplay data label in line chart in ggplot2
I have a line chart and I would like to put the label of the state corresponding to the line, but the label is coming out on each data available and not only the last one: Code I’m working on:…
-
2
votes1
answer150
viewsGraph of cases accumulated with ggplot2
I’m trying to make a chart according to the chart below days after 100 confirmed cases, in the case of my chart, I put as days after 10 confirmed cases: I’m using this code: library(tidyverse) dados…
-
2
votes1
answer48
viewsFunction to create charts per column
I’m using this code to plot age pyramids: p_etarias <- read.csv(file "C:\\Users\\User\\Desktop\\DemandasCEInfo\\20200327_CNSAÚDE\\Piramides\\R\\p_etarias.csv", sep = ";",dec = ",", header = TRUE)…
-
2
votes1
answer73
viewsI would like to edit my chart by displaying a single maximum value
Hello guys I’m having trouble displaying a value on my chart, it’s a graph of the evolution of the number of deaths in my city, my X axis is composed of March dates so far, and the Y axis with the…