@@ -148,8 +148,8 @@ static void usage(void) {
148148 " Sixth value: min error indicator color (optional)\n"
149149 " Example: -C 1,2,3,4,5,6 or -C 1,2 or -C 1\n"
150150 " Predefined color schemes:\n"
151- " -C dark1 Blue-cyan-yellow scheme for dark terminals\n"
152- " -C dark2 Purple -yellow-green scheme for dark terminals\n"
151+ " -C dark1 Red-green lines for dark terminals\n"
152+ " -C dark2 Blue -yellow lines for dark terminals\n"
153153 " -C light1 Green-blue-red scheme for light terminals\n"
154154 " -C light2 Blue-green-yellow scheme for light terminals\n"
155155 " -v print the current version and exit\n"
@@ -168,21 +168,23 @@ static void version(void) {
168168// Set a predefined color scheme
169169static void set_color_scheme (const char * scheme_name ) {
170170 if (strcmp (scheme_name , "dark1" ) == 0 ) {
171- // Blue-cyan-yellow scheme for dark terminals
172- colors [LINE_COLOR ] = C_BLUE ; // Blue for plot line
171+ // Red-green lines for dark terminals
172+ colors [LINE_COLOR ] = C_RED ; // Red for plot line
173+ line2color = C_GREEN ; // Green for second plot line
173174 colors [AXES_COLOR ] = C_CYAN ; // Cyan for axes
174175 colors [TEXT_COLOR ] = C_WHITE ; // White for text
175176 colors [TITLE_COLOR ] = C_YELLOW ; // Yellow for title
176177 colors [MAX_ERROR_COLOR ] = C_RED ; // Red for max error
177178 colors [MIN_ERROR_COLOR ] = C_GREEN ; // Green for min error
178179 } else if (strcmp (scheme_name , "dark2" ) == 0 ) {
179- // Purple-yellow-green scheme for dark terminals
180- colors [LINE_COLOR ] = C_MAGENTA ; // Magenta for plot line
181- colors [AXES_COLOR ] = C_YELLOW ; // Yellow for axes
182- colors [TEXT_COLOR ] = C_CYAN ; // Cyan for text
180+ // Blue-yellow lines for dark terminals
181+ colors [LINE_COLOR ] = C_BLUE ; // Blue for plot line
182+ line2color = C_YELLOW ; // Yellow for second plot line
183+ colors [AXES_COLOR ] = C_CYAN ; // Cyan for axes
184+ colors [TEXT_COLOR ] = C_WHITE ; // White for text
183185 colors [TITLE_COLOR ] = C_GREEN ; // Green for title
184186 colors [MAX_ERROR_COLOR ] = C_RED ; // Red for max error
185- colors [MIN_ERROR_COLOR ] = C_BLUE ; // Blue for min error
187+ colors [MIN_ERROR_COLOR ] = C_MAGENTA ; // Magenta for min error
186188 } else if (strcmp (scheme_name , "light1" ) == 0 ) {
187189 // Green-blue-red scheme for light terminals
188190 colors [LINE_COLOR ] = C_GREEN ; // Green for plot line
0 commit comments