* @brief Revert both axes to automatic scaling. * * Clears any range previously pinned with `plot_set_xlim` / `plot_set_ylim`, * so the next render auto-scales to the data again. NULL is a no-op. * * @param plot Plot to reset. May be NULL. */
| 2144 | if (!sharedX) { |
| 2145 | ok &= fputs(s ? ",x_" : "x_", f) >= 0; |
| 2146 | ok &= plot_csv_write_text(f, lbl, true); |
| 2147 | } |
| 2148 | ok &= fputc(',', f) != EOF; |
| 2149 | ok &= plot_csv_write_text(f, lbl, false); |
| 2150 | } |
| 2151 | ok &= fputc('\n', f) != EOF; |
| 2152 | |
| 2153 | /* Rows. */ |
| 2154 | for (size_t r = 0; r < rows && ok; ++r) { |
| 2155 | if (sharedX) { |
| 2156 | /* x column uses implicit index unless the series have their own. */ |
nothing calls this directly
no outgoing calls
no test coverage detected