mcastorina / graph-cli

Flexible command line tool to create graphs from CSV data
783 stars 29 forks source link

fix title and labels when chaining #16

Open mcastorina opened 5 years ago

mcastorina commented 5 years ago

currently if the user does not specify title, xlabel, or ylabel and the graph is being chained, the resulting output uses the last xcol, ycol values

i.e.

graph samples/sine.csv -C | graph samples/cosine.csv

gives title cos(2πx/1000) vs x and it should be sin(2πx/1000), cos(2πx/1000) vs x as is the case with

graph samples/sine-cosine.csv