The CSV tag concerns text-based files containing tabular material using commas as a separator.

learn more… | top users | synonyms

3
votes
0answers
38 views

Grouping data in pgfplots

I have a file with measurement results for different settings (group) in a single csv file as shown below. I would like to plot a line in pgfplots for each group and provide an appropriate legend. Is ...
3
votes
1answer
21 views

Creating csv files from .dtx: blank line at top

I'm working on a .dtx project in which I might embed data in the .dtx to be written to a couple of .csv files. The problem I'm encountering is that a line feed character is inserted before the first ...
1
vote
2answers
47 views

Remove space between consecutive fbox commands

I type several fbox commands and for some reason the boxes are separated with small spaces: MWE: \documentclass{article} \usepackage{fullpage} \setlength{\oddsidemargin}{-15mm} \raggedright ...
2
votes
1answer
57 views

Importing table from csv file

I have the following table in a avg_value.csv file: ,M23,F23_1,M36,F44,F63,M70 M23,1.00,0.81,0.88,0.83,0.41,0.82 F23_1,,1.00,0.52,0.56,0.25,0.94 M36,,,1.00,0.62,0.94,0.96 F44,,,,1.00,0.43,0.23 ...
3
votes
1answer
62 views

Plot multiple histograms from csv file using pgfplot

I have the following data.csv file: subject,f1,f2,f3 F11,0.019,0.04165,0.00016547 F14,0.03034,0.02161,0.000267 M22,0.05128,0.0648,0.000327 M22_1,0.052,0.0328,0.000206 M23,0.0364,0.06355,0.000379 ...
1
vote
1answer
49 views

Combine multiple pgfplots from tex files

I have been using Sharelatex to write my thesis and I have accumulated many pgfplots. I can't include more than ~6 pgfplots produced by csv files before I get compile time out. I have been dividing my ...
0
votes
0answers
41 views

Creating a list from CSV files

I do have a CSV file containing a list of collaborators to a book. I'd like to know if theres is an automated way to import this file into Latex and generate a list of collaborators (in twocolumn ...
2
votes
1answer
46 views

display csv database content

I am a newbie. I need to create a catalogue of the main opera (classic voice) courses in Europe. Each school gets its own page. Each page has specific information about the school: name of the school, ...
3
votes
1answer
186 views

Getting specific row/column values from a csv file to use in text, figures or table cells

I am trying to do the following: read a csv (or other similar format) external file with numerical and string data into an object; reference/get an specific value from such object to use into an ...
12
votes
3answers
17k views

Importing csv file into latex as a table

I am using the \csvautotabular function to import data from a csv file. It has worked beautifully; however, I only want to import certain columns from the file. How can I exclude certain columns? ...
2
votes
1answer
37 views

How to hide one column in a pgfplotstable

How can I hide the column parameter a (header and data) of the following table. \documentclass{article} \usepackage[letterpaper, margin=0.5in]{geometry} \usepackage{pgfplotstable} \begin{document} ...
0
votes
0answers
72 views

Problem reading csv file with csvsimple

I have a document that roughly looks like \documentclass[12pt, titlepage, twoside]{article} \usepackage{csvsimple} \begin{document} \csvautotabular{a_square.csv} \end{document} a_square.csv exists ...
3
votes
1answer
57 views

Omitt some xticklabels

I am currently reading some data from a CSV-file together with the xticklabels as one column from that file: \pgfplotstableread[col sep=comma]{data/test1_d4.csv}\dataTestOneFour \begin{figure}[ht] ...
1
vote
1answer
67 views

How to merge data and create multiple documents?, similar to personalized mailings

I would like to use LATEX combined with EXCEL data files (or CSV if it were neccessary) to create "proof of payment". Supose a list of people John McEnroe, NYC (USA), 110.23$, 10$,May...... Mary ...
2
votes
1answer
52 views

How to escape any CSV file automatically for pgfplots

I want to plot something from the file "processor.csv" from http://cpudb.stanford.edu/cpudb.1416196069.zip. How can I automatically escape this file or ANY OTHER to use it with pgfplots. I've already ...
2
votes
1answer
152 views

How to draw a graph from specific lines of CSV file?

I would like to know if I can use cases when taking input from a csv file: Instead of generating multiple csv files, I would like to do the following In my tex file: Input from line 1-10 of ...
1
vote
0answers
67 views

I want to insert a file into my lyx document not import

I have a lyx file and I want to attach some csv files. I don't want to import the files because most of them are very large tables, rather I would like to so something like what Microsoft word does ...
3
votes
1answer
157 views

PGFplot multiple histograms using CSV file

I have tried to draw a comparative graph using histogram and taking data from different CSV source files. I can draw the two histograms but the resulting graph is not what I want: I don't want the two ...
2
votes
1answer
117 views

How to draw a graph from CSV with TeX?

I am a complete beginner with TeX, I would like to draw JMH benchmark graph using TeX. Since I have output results in CSV format. This is my actual code: \documentclass{article} \usepackage{pgfplots} ...
3
votes
0answers
98 views

Make a Sheme in LaTeX Tikz?

I have this CSV-file ... Lineare Algebra TÜ [Übungsraum (3322-316)],01/28/15,08:15:00,01/28/15,10:00:00 Lineare Algebra TÜ [Übungsraum (3322-316)],02/04/15,08:15:00,02/04/15,10:00:00 Lineare Algebra ...
0
votes
0answers
47 views

Take input from csv file and use it to create a custom-made table in tikz

I have a csv file that looks like this: Scott, William, Todd,Esben, Martin, Jesper, Alexander W.L Right now, the names are written this line \aebuildtable{20}{Scott,William,Todd,Esben, Martin, ...
1
vote
1answer
114 views

Simple import of data with special characters for table

I'm currently trying to import a set of data from a file (comma or tabbed delimited, doesn't matter) for creating a table. Below is an example of this data (DH parameters in case you're curious): ...
3
votes
1answer
120 views

How to deal with csv file whoese fields are enclosed by quote?

I have a csv file whose fields contain text. As fields can contains newlines, they are enclosed by double quotes. Editing these file works well with my favourite spreadsheet (libreoffice). I want to ...
7
votes
1answer
157 views

Macro for pgfplots/gnuplot exponential regression line

I am trying to create a series of plots with exponential regression that are automatically generated from comma/tab separated .csv files and pgfplots with help from gnuplot. When not using macros I ...
4
votes
1answer
134 views

Recreating formatting of an Excel table using simplecsv

I'm trying to recreate a wholesale price list in LaTeX so that the data can be updated automatically from CSV files. I'm able to import data using \csvautolongtable but I'm struggling with the ...
5
votes
1answer
118 views

Appending Graphic from Optional CSV Column to PGFPlotsTable Column Content

I have a CSV file containing a list of names, numbers and optionally pictures. This file is to be displayed in a multi-column table, with the name (and optionally appended picture as icon) in one ...
5
votes
2answers
140 views

Auto-coalesce same values into \multirow

I am generating a pgfplotstable from a data file. In that file, within the Class column, subsequent rows with the same value should automatically be coalesced/collapsed/joined to form a ...
2
votes
2answers
152 views

Creating a multi-column table with dynamically wide columns from a CSV file

I'm trying to make a multi-column table take dynamic values, read from a CSV file. The current table looks like this and has been formatted manually with tabularx, without any multicolumn package ...
1
vote
1answer
78 views

Speed up CSV loading with datatools package?

I am using the datatool package to read some CSV files. I've used the csvsimple package before, which I finally managed to break by adding more and more requirements to the mix. Now I'd like to switch ...
1
vote
1answer
860 views

Plotting Multiple Time Series plots in LaTeX using PGFplots and txt files - Relativity Issues

I have a problem with plotting multiple time series plots in a single graph in Latex. Background: I have three products - Potatoes, Apples, and Oranges. Each products' historical price and ...
1
vote
1answer
134 views

pfgplots groupplot with more than one \addplot per \nextgroupplot?

I'm having trouble making a group plot in pgfplots. I want to have 2 separate graphs, each with two regression lines and two sets of dots, but groupplot lumps everything onto 1 set of axes. I can't an ...
0
votes
2answers
212 views

How to import CSV files into my own style of tables?

I've been using LaTeX to write lab reports for a year now, which includes manually entering data into tables. However, now I am performing experiments that have way more datapoints that manually ...
7
votes
1answer
189 views

Plotting graphs from csv with pgfplots?

I am trying to plot a graph using pgfplots in which the data is read from a CSV file. My points show up fine, but when I try to add a regression line, it appears as a vertical line at x=0. Can anyone ...
3
votes
0answers
187 views

csvautotabular with macro code headers

The manual states that macro code is allowed and will be processed accordingly using csvautotabular (section 4.3, page 31). The header allows some math mode macros such as underlines (X_{1}) and ...
2
votes
0answers
104 views

problems inserting commas in tables - pgfplotstable

I have a table I want to import into an appendix. The last column is a source key, and there are several sources in each cell I want to list as a, b, c; d, f, m; etc. However, the problem is the are ...
2
votes
1answer
137 views

manually inserting row lines when inputting csv to latex

I am making a long table for a paper appendix that spans multiple pages. I would like there to be no lines marking each row, except to designate sections. The only way I have figured out how to do it ...
1
vote
1answer
79 views

csvsimple creating multiple lines out of one entry

Data looks like this: name,job,age John,student,21 Frederik,student,18 Johnson,professor,49 I'd like to generate a table, that when for the first time a new job show up (the list is sorted by job), ...
4
votes
1answer
93 views

problematic extra cell when importing CSV to latex

I have a table that spans several pages I will be including in an appendix that I would like to import into my LaTex document from a csv. I found the long table answer post very helpful: Importing CSV ...
2
votes
2answers
154 views

Build PGF/TikZ matrix from CSV file

I want to automatically build a PGF/TikZ based drawing based on some external data that is read using csvsimple. My main issue at the moment is that most of the nodes are part of a matrix, mainly to ...
2
votes
0answers
46 views

manual generated toc page with wraps an tab stops [closed]

My last deeper contact with TeX was many years ago. Since then I use it only from time to time to assemble PDF pages with bookmarks etc. Now I need to manually create TOC pages for a collection of ...
2
votes
1answer
86 views

You can't use a prefix with `\char"FB': error when importing csv into latex

I'm trying to use the package csvsimple to create a table from a csv file. This worked so far, but when I try to add new figures/tables afterwards I get multiple errors. It looks like the \end ...
3
votes
1answer
165 views

How to make convert csv to fancy tables?

I want convert csv to fancy tables like this : First, I make a basic table with my MWE like this : \documentclass{article} %\usepackage{csvsimple} \usepackage{pgfplotstable,filecontents} ...
3
votes
1answer
135 views

Nested CSV with csvsimple

I have two csv files. I want to use the first (countries.csv) to generate sections, and then filter the second (bottles.csv) by the name of the section. Below is an MWE - you can see that the nested ...
2
votes
0answers
121 views

PGFPlotstable with data from csv file : character µ and _ in column header

I have searched for a long time on the internet (here and other LaTeX resources on the web) but I could not find the answer to my (simple) question: how could I draw a table with Pgfplots, with data ...
6
votes
4answers
385 views

Sending Same Letter to multiple addresses

I'm sending the same letter to multiple addresses. The addresses are stored in a csv document. I've so far created a loop to create multiple letters, but I have not been successful in finding a ...
0
votes
1answer
139 views

Table does not display in List of Tables

I'm including a table: \begin{table}[htb!] \centering \csvautotabular{results.csv} \caption{Results} \end{table} And in the top of my document, I have: \listoffigures \listoftables However, all ...
2
votes
1answer
69 views

pgfplots is skipping first ytickslabel from file

Rendering the MWE below pgfplots skips the first 'Adiff' label of the CSV. I'm sure this is a no-brainer and easy karma points for experienced pgfplots users, but I am stomped. ...
2
votes
2answers
330 views

Creating a table from CSV file with strings?

I want to create a table from a CSV file in LaTex. I am able to do it with numbers here but creating table for strings such as abbrevions does not work. What is the problem? MVE This example ...
1
vote
1answer
154 views

How to create a large table with Pgfplots and string entries?

I tried to hack this here for a larger case but it is firing errors. What is causing the too many columns error and is Pgfplots ideal for this kind of table generation? Goal: table that I am trying ...
1
vote
1answer
248 views

Custom table from csv file (multiple header rows)

I would like to create custom tables from .csv files. By custom I mean, that I only want LaTex to read in the body of the table, i.e. "a & b & ... \ ..." but I want to write my own header and ...