Skip to content

Commit 2431ef2

Browse files
committed
Show more of W_-1 in the plot
1 parent d0e2d94 commit 2431ef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/plot.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
1212
.set_all_label_area_size(20)
1313
.top_x_label_area_size(0)
1414
.right_y_label_area_size(0)
15-
.build_cartesian_2d(-1.0..10.0, -3.0..2.0)?;
15+
.build_cartesian_2d(-1.0..10.0, -4.0..2.0)?;
1616

1717
chart.configure_mesh().x_labels(20).y_labels(20).draw()?;
1818

@@ -32,7 +32,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
3232
.draw_series(LineSeries::new(
3333
(0..steps)
3434
.map(|x| f64::from(x) / f64::from(steps))
35-
.map(|t| NEG_INV_E - t * (NEG_INV_E + 0.15))
35+
.map(|t| NEG_INV_E - t * (NEG_INV_E + 0.073))
3636
.map(|x| (x, x.lambert_wm1())),
3737
&RED,
3838
))?

0 commit comments

Comments
 (0)