In Processing, I am trying to read data created in Excel and create a graph based on it. Although the data has been read, it is only possible to display the data, and it is not clear what to do.
What we want to realize
①Read data
(2) Add the numerical value appropriately selected in the read data
③ Multiply all values in the data by common numbers
That is.
For now, when you execute it, the numerical value of the data will be displayed as the execution result
Applicable source code
Java
void setup () {
background (255);
size (800,400);
Table csvData = loadTable ("2.csv", "csv");
fill (0);
// 1 line
text (csvData.getString (0,0), 10,20);
text (csvData.getString (0,1), 50,20);
text (csvData.getString (0,2), 90,20);
// 2 line
text (csvData.getString (1,0), 10,40);
text (csvData.getString (1,1), 50,40);
text (csvData.getString (1,2), 90,40);
// 3 line
text (csvData.getString (2,0), 10,60);
text (csvData.getString (2,1), 50,60);
text (csvData.getString (2,2), 90,60);
noLoop ();// Do not loop
}
void draw () {
stroke (0,25,62);
}
I tried to make an array, but it didn't work.
Supplemental information (FW/tool version etc.)Processing3.5.3
-
Answer # 1
Related articles
- c ++ - how to read data with fscanf
- python - how to process csv data 12b and 567m
- how to read csv file as list type as tuple for each line in python
- python - how to read numerical data in text file as time series data (1d)
- javascript - how to read csv and display table
- how to save continuous data in python as csv file
- javascript - how to read a csv file like jsonstringify ()
- how to read csv file data with set type in python
- vb - how to read csv files at high speed
- javascript - how to read data in by ?
- laravel 5 - how to read data from s3 in laravel
- python - how to complement missing data by the hour
- c ++ - i want to know how to read the vertex information of obj file
- i want to read the csv file from s3 of aws with java and read the contents line by line to process
- java - how to measure the processing time
- i don't know how to read this code in f #
- c #: how to read soap api wsdl
- how to receive data from a form in php
- i want to read a csv file in c # and output it in json format
- i want to read the data with php and output the total
The computer will only work as you specify. Instructions such as "appropriately" or "same number" are not valid.
First, let's get a clear idea of what you want to do. If you don't know what you want to do, you don't know what instructions to give (what programs to give).