Let the graphs be bigger.
authorBrenden Matthews <brenden@rty.ca>
Mon, 25 May 2009 05:31:35 +0000 (23:31 -0600)
committerBrenden Matthews <brenden@rty.ca>
Mon, 25 May 2009 05:31:35 +0000 (23:31 -0600)
src/specials.c
src/specials.h

index e35d5f1..b1d5976 100644 (file)
@@ -279,11 +279,6 @@ static void graph_append(struct special_t *graph, double f, char showaslog)
                f = graph->graph_scale;
        }
 
-/* Already happens in new_graph
-       if (graph->scaled) {
-               graph->graph_scale = 1;
-       }
-*/
        graph->graph[0] = f;    /* add new data */
        /* shift all the data by 1 */
        for (i = graph->graph_width - 1; i > 0; i--) {
index 901e6eb..d9ba3f8 100644 (file)
@@ -31,9 +31,7 @@
 
 #define SPECIAL_CHAR '\x01'
 
-/* why 256? cause an array of more then 256 doubles seems excessive,
- * and who needs that kind of precision anyway? */
-#define MAX_GRAPH_DEPTH 256
+#define MAX_GRAPH_DEPTH 512
 
 // don't use spaces in LOGGRAPH or NORMGRAPH if you change them
 #define LOGGRAPH "log"