| 308 | } |
| 309 | |
| 310 | Range PropertyPlot::isoline_range(CoolProp::parameters key) const { |
| 311 | if (key == CoolProp::iQ) |
| 312 | return {0, 1}; |
| 313 | else |
| 314 | return get_axis_limits(key, CoolProp::iT).x; |
| 315 | } |
| 316 | |
| 317 | Isolines PropertyPlot::calc_isolines(CoolProp::parameters key, const std::vector<double>& values, int points) const { |
| 318 | std::vector<double> xvals = generate_values_in_range(xaxis.scale, xaxis.range, points); |