diff options
author | mongo <andmarti@gmail.com> | 2017-04-28 14:07:05 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2017-04-28 14:07:05 -0300 |
commit | 0e1bbd875ce0003296c6704395f4586fff2f9899 (patch) | |
tree | e2641e76197dbfb8ec527ba16267d6975c8a7e04 /src/plot.c | |
parent | e0c0eaf6f455b4d3df4bbc18b1d9e4e2b6ef207b (diff) |
added bar chart
Diffstat (limited to 'src/plot.c')
-rw-r--r-- | src/plot.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ int plotedit(wchar_t * s) { char command[BUFFERSIZE]; if (! wcscmp(s, L"line") || ! wcscmp(s, L"scatter") || - ! wcscmp(s, L"pie")) { + ! wcscmp(s, L"pie") || ! wcscmp(s, L"bar")) { char buffer[PATHLEN]; char path_out[PATHLEN]; char type[BUFFERSIZE]; @@ -70,7 +70,7 @@ int plot(char * s, int r, int c, int rf, int cf) { sprintf(command, "gnuplot -e \"filename='%s'\"", datafile); if (! strcmp(s, "line") || ! strcmp(s, "scatter") || - ! strcmp(s, "pie")) { + ! strcmp(s, "pie") || ! strcmp(s, "bar")) { sprintf(buffer, "plot%s", s); if (! plugin_exists(buffer, strlen(buffer), buffer1)) { sc_error("could not load default plotline file"); |