Questions tagged as 'plot'

1
answer

Problem installing graphics with ggplot2 R

I'm trying to put a graph in R to display the maximum and minimum values of some variables in addition to a line to mark 0 of y, however the points in the chart go completely out of order. I'm using the following table: cultivar <- c("IB...
asked by 27.08.2016 / 20:17
1
answer

Represent the x-axis of the histogram as the classes of the frequency distribution?

I'm having trouble getting a histogram of this frequency distribution.    Class limits f rf rf (%) cf cf (%)       [22.691,25.57] 17 0.01 1.29 17 1.29       [25.57,28.45] 25 0.02 1.90 42 3.19       [28.45.31.33] 64 0.05 4.86 106 8.05     ...
asked by 10.01.2018 / 14:09
1
answer

multiple columns using geom_lines ggplot

I have this date frame: structure(list('Exchange Rate' = c(-0.145442175, 0.291096141, 0.489923112, -2.038363166, 1.180430664, 0.188114666, 0.850922634, 1.172142766, -3.980837975, 0.285762444, 2.497040646, 0.658010994, -0.925171981, 0.370769...
asked by 06.10.2016 / 23:56
1
answer

How can a colormap of a surface be mapped to a scalar function?

Translation of question I asked no OS : I have a scalar function that represents the electrical potential on a spherical surface. I want to plot, for a given radius, the surface and map its color points based on the potential function. Ho...
asked by 01.05.2017 / 16:45
3
answers

Change betas graphs of a regression

I'm trying to modify the betas graph of this regression that I ran: x c(-0.0179316822180174, -0.00641604898349779, 0.0118829440361971, -0.00821159118344772, -0.0171607214317729, 0.0162441460856755, 0.00963105000906578, 0.00394937550015284,...
asked by 09.08.2016 / 20:15
1
answer

How to create a graph with two axes and with different scales in R?

I'm trying to plot a chart with 3 datasets. "Precipitation" and "Evapotranspiration" have high values (from 5 to 580) so it would use the same Y-scale (from the shale side) for both plotted data superimposed on line graph. The data of "Days with...
asked by 01.11.2017 / 14:16
1
answer

How to plot a curve to separate data?

I'm testing some things in the language and this question came to me. I made a program that has a database that is divided into two groups (Group 1 and Group 2) and its elements are already labeled. I want to classify a new group of elements bas...
asked by 14.06.2017 / 23:41
2
answers

Change the X-axis scale

Hello, I'm trying to graph a tree trunk, where the y-axis is the height (meters) and the x-axis is the diameter (cm). Until then without problems, but I would like to change the scale of the x axis to give more realism and I can not do this, woul...
asked by 15.09.2015 / 15:02
1
answer

Plot of the distribution of the degrees of a graph in R

I have a graph and I want to plot the distribution of degrees. Example: > library(igraph) > g <- make_ring(10) > degree(g) [1] 2 2 2 2 2 2 2 2 2 2 > g2 <- sample_gnp(1000, 10/1000) > degree_distribution(g2) [1] 0.000 0.0...
asked by 12.08.2017 / 16:00
1
answer

Plotting .xls file with matplotlib and openpyxl

Having the following content in my .xls file:    Belo Horizonte - MG 2278.8       Porto Alegre - RS 1647.8       Recife - PE 2434.9       Rio de Janeiro - RJ 1653.6       Salvador - BA 2324.1       São Paulo - SP 2227.5       Total of a...
asked by 10.03.2018 / 20:10