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
-
2
votes2
answers190
viewsLabel data in column charts at "Dodge" position in R
I am working with the following data frame: library(tidyverse) df<- data.frame(Ano=c(2017, 2018,2019,2020), Vagas=c(16, 14, 27, 32), Inscritos=c(70, 107,74,88), Aprovados=c(15,14,17, 12)) df Ano…
-
2
votes1
answer56
viewsError when colorizing bar graph and caption with the pal.bands function
I’m trying to reproduce the chart below: However, I am not able to color my chart through the function pal.bands according to the information that is in the spreadsheet below: The data is found in…
-
2
votes0
answers27
viewsHow to count the quantity in variable using boxplot, not the frequency?
I’m trying to create a boxplot of the amount of respirators per state, but when I plot the R counts the frequency of respirators not the amount per state. There I have the following information: I…
-
2
votes1
answer48
viewsIncorrectly created chart
Hello, I am training in creating graphics in Python with matplotlib. For this, I am importing an HTML with WEGE3 action history. df_history =…
-
2
votes0
answers31
viewsPlotly tree graph showing wrong python values
That boy-girl Sunburst plotly, when used in a dataframe of this spreadsheet, through the code below, generates a graph wrong values of the 'rest' column. For example, in the path…
-
2
votes1
answer56
viewsRounded lines or "Smooth" in Python from an Excel file
I’m trying to make a Python chart on Anaconda’s Jupyter Notebook from an Excel file I created. I put the data and the lines give me peaks in the graph. I wish the lines were more "Smooth" or rounded…
-
2
votes2
answers63
viewsCreate hatched area below normal distribution curve in R
I would like to create a gray hatched area, just like the one in the image below. I plotted the curve, with the data as follows: dados <- c(149.3355, 140.3779, 145.7254, 149.8931, 139.6168,…
-
2
votes1
answer40
viewsVanishing symbol when saving graphic image
In the annotations inserted by the argument annotate in the chart below in one of them has the symbol " ", but when saving the image as PDF the symbol disappears and appears "..." instead. I’d like…
-
1
votes1
answer1343
viewsHow to make a vertical bar graph with the c+# character?
Performing a C++ job here at the college: How to carry out a vertical graph in bars, that is, from the bottom to the top, of some vector. Suppose there is a vector with some positions, for example…
-
1
votes2
answers1700
viewsHow to put images on the screen?
In MSX, you used BASIC to put an image on the screen without going out of command line mode. Today, we can’t do this anymore? Without using Opengl or other Apis, how do we place pixels on the…
-
1
votes1
answer92
viewsUse the data obtained in the parse of my Web Service to turn into a chart on Android
I have a web service that returns me some values, for example now is this way the answer of my parse: The parse I did to get the filtered values was this: String valFormaOutros =…
-
1
votes3
answers1682
viewsGantt chart using C3.js: How to use Axis Y Category or Y timeseries?
I am looking for a solution within the javascript library C3.JS (Based on D3.JS) where I can create a graph that shows over a period the types of certain thing being used and intercalated. A small…
-
1
votes1
answer380
viewsGenerate Pie Chart with PHP javascript
Good Morning Everyone I’m trying to add a pie-Chart as a result of a report. // PEGA A DATA DIGITADA VIA FORM $dateStart = $_POST['datainicial']; $dateEnd = $_POST['datafinal']; // VARIÁVEL AUXILIAR…
-
1
votes1
answer68
viewsHow to create a standard map chart?
I need to create a graphic standard map. Is it possible to plot graphics using the C language? I know the basic data structure, algorithms and the c language, but I can’t create a graphical…
-
1
votes1
answer514
viewsHow to put subtitles at the bottom of the Chart?
I have been trying to work with Chart in C#. But now I can’t leave all the subtitles underneath their respective columns. The image shows that caption 1, 3, 5, 7, 9 and 11 are not appearing, even if…
-
1
votes0
answers352
viewsGenerate graph in Excel - C#
Hello, I would like to ask a question: I am exporting the data generated in a gridview to Excel, and at the same time I am generating a Graph in Excel itself from C#. I would like the chart size to…
-
1
votes0
answers438
viewsPrinting Teechat Chart on Delphi XE5
I need to print a Teechart chart on Delphi, but it gets totally unnoticed when the Smooth option is unchecked. This is the chart that should be printed: On the print screen has this option Smooth…
-
1
votes0
answers489
viewsReal-time xy graph in the inventor app using Chart.js
I’m new to java development, but I’d like to know how I can use Chart.js graphics to generate a real-time scatter xy chart with sensor data. The goal is to plot at x the applied potential (V), and…
-
1
votes1
answer357
viewsHow do I describe a straight line equation of a glmm in an xy graph on R?
Hello, I have data on age (X) and species richness per sample (y). I made a glmm and would like to know how to write the equation correctly in the figure in R. Someone has some site/paper to…
-
1
votes0
answers133
viewsIs it possible to open php page inside modal?
On all the graphic systems I did, there was a page that took the database records and displayed each record with a button that redirected to its particular chart page. This time I wanted this button…
-
1
votes1
answer732
viewsHow to make dynamic chart based on database records
My system has a page with a table that shows each bank record with a button to open a modal. I would like within this modal to have a graph that compares the number of actions planned with the…
-
1
votes1
answer3892
viewsBar graph with relative and cumulative frequency
I’m trying to make a bar graph with the count on top of the bars and the relative and accumulated frequencies on the left and right sides respectively but I’m not getting it. The data is: dput(x2)…
-
1
votes0
answers126
viewsInsert values in the chart
I’m trying to put the values on the bar graph, but I’m not getting it var especialidade = []; var totais = []; function especFn() { $.ajax({ url : 'function/especialidade.php', type : 'post',…
-
1
votes1
answer1487
viewsGraph of minutes per hours with Chart js
I don’t know if I can be clear, but I would like to make a graph showing the CPU usage line per minute with Chart JS, but with the Y axis rounding per hour. I was able to make the rounding using…
-
1
votes1
answer982
viewsError generating matplotlib graph
I am new to Python and I am having difficulty with my algorithm, the function of it is to check words in a set of files in PDF format and analyze the recurrence of each word generating with this…
-
1
votes1
answer878
viewsHow to generate two Google Charts on the same page?
I know that the code below generates 1 graph inside the page but I need to generate several graphs and I do not know the logic used to achieve, dynamically, the goal. Can you help me please?…
-
1
votes0
answers109
viewsFramework for Graphics
Good morning, I’m with a graphic that was developed using the Devexpress(https://demos.devexpress.com/XtraChartsDemos/BarViewTypes/BarSeries.aspx). In the chart I’m using it has five columns and…
-
1
votes1
answer793
viewsGraphics for Node.js
I am developing a program in Node.js that generates reports in . pdf, with tables and graphs. I’ve been searching the internet and found several packages to generate these graphics, such as: D3.js…
-
1
votes1
answer1499
viewsI need to add captions to my chart in R
#--------------Biblioteca necessária para gerar gráficos library(ggplot2) #setwd( '/home/gabriel/Videos' ) #-------------------------------Carrega arquivo csv dados1 <- read.csv(file.choose())…
-
1
votes1
answer225
viewsHow to make a cross from a matrix in R
I have the following matrix: x y A = | 2 0 | | 3 0 | | 1 2 | | 1 3 | | 2 1 | | 2 2 | | 2 3 | | 2 4 | | 3 2 | How can I make a Cross as in the following figure when plotting this matrix on a graph:…
-
1
votes1
answer513
viewsDifferent Y axes in Highcharts
I have a comparative graph that has two Y-axes with different values, which compromises comparison. I would like both axes to have the same value, as it could solve this problem? Follows the graph:…
-
1
votes1
answer2073
viewsHow do I make a 2°degree equation graph using Python?
I made a code that calculates Bhaskara for me and I was thinking of making this program show the graph of the equation as well, but I don’t know how to do that. if anyone knows how to do this,…
-
1
votes1
answer277
viewsDoubt about highcharts and php
For styling a web page, I usually use highchart charts with information from a mysql database via php. For those who are not familiar with highcharts, here is a simple code example.…
-
1
votes1
answer722
viewsHow to plot graphically with the colors of each pixel of the image?
I am working on the color recognition of images, with this, I am converting the RGB image to Lab, because it is the color space closest to the human view. Once this is done, I take each of the 3…
-
1
votes1
answer111
viewsChart with horizontal scrolling c#
Good morning guys, I’m drawing a line chart on a pictureBox with "drawline"s concatenated. Basically what I want is to create a horizontal scroll bar to navigate the chart, that is, to be able to…
-
1
votes0
answers33
viewsProblem in generating a dynamic graph in vis.js
I have a problem in this graphic library: http://visjs.org/ The data is correct (and correct in the graph as well), but visually they are not being represented correctly. Example: The red node has…
-
1
votes1
answer59
viewsWhat is the error in the Python chart
When I put print on file 2 it displays me the data from the first'file' import urllib.request import pandas as pd import datetime import matplotlib.pyplot as plt origem =…
-
1
votes1
answer206
viewsDiv in graphic form
Good afternoon. I am developing a project in front-end, new experience. I need to create a "chart" in ranking format. However, the Divs start from top to bottom, I need to reverse this. How do I? My…
-
1
votes0
answers60
viewsGraphic arts in Barra com Da
I’m trying to create a chart like this in R. I did all the work in R to return a table as shown below. But when I do the graph, it limits me to have x and y axis, and in the graph above the x axis…
-
1
votes1
answer131
viewsProblem to generate integer numbers in Chartist.JS chart
I’m using a plugin called chartist.js it works well the problem is being the side numbers I’m putting from 1 to 5 the ideal would be like this 1 2 3 4 5 but it is generating so 1, 1.5, 2, 2.5, 3,…
-
1
votes1
answer46
viewsHow do I change the color of the chart’s input values?
I need to change the color of this tile to white however, I have not found a way to change these values. Here is my html code: <!DOCTYPE html> <html lang="en"> <head> <meta…
-
1
votes1
answer208
viewsHow to place arrows on the graph of a parametric curve - Python - Plotly
I posted that same question earlier on stack overflow (in English). I’m new in python and I’m learning to plot parametric functions using plotpy. Therefore, I "challenged" myself to write a code…
-
1
votes1
answer45
viewsHalf of boxplot appearing in ggplot2 function
I’m doing a boxplot using ggplot2 package, however, for some external reason, only half of the boxplot is being made for the "Control" and "Commercial IMD" treatments". See below that when doing the…
-
1
votes0
answers127
viewsPython - How to remove line in the middle of markers and additionally place trend line equation in Python
Good afternoon. I’m trying to create a graph in Python, in a Jupyter Notebook in Anaconda where I’d like to put the trend lines for each of the lines and the linear regression equation. I was able…
-
1
votes1
answer1063
viewsCustomize/customize Python chart caption
I’m trying to create a custom caption on my Python chart on a Jupyter Notebook in Anaconda. I don’t want any rectangles around the legend. Instead of the caption appearing as it is in the image,…
-
1
votes1
answer161
viewsPython log-normal distribution
I’m trying to adjust the log-normal distribution to this data but I don’t know how to find the mean, standard deviation and adjust the Python distribution curve (I’m using Jupyter in Anaconda). I…
-
1
votes0
answers18
viewsGenerate PDF from a Template with sheet data including graphics
I have a script that takes information from a spreadsheet, replaces the text in a "template" document and generates a PDF for later sending by email. See an excerpt of my code below: // Cria o novo…
-
1
votes1
answer59
viewsFill graph line in Python and change axis numbers to strings
Good afternoon. This is the first time I’ve ever done a 3D graphic in Python, in Anaconda’s Jupyter Notebook. The goal is for the chart to look like this formatting: My code is this:: import numpy…
-
1
votes1
answer92
viewsOverlay graphics in ggplot2 considering adjusted lines
I am trying to superimpose two graphs made in ggplot2, in which the first contains the line adjusted by means of a polynomial model of degree 2 and the other contains the adjusted lines of a model…
-
1
votes1
answer53
views