From 700fd027035d2e66dfe388e2f41569d4c4c02418 Mon Sep 17 00:00:00 2001 From: Shiwei Sun Date: Mon, 16 Jan 2017 15:22:00 +0800 Subject: [PATCH] correct the pivot-angle-interpline example The previous one has a wrong example when interpolating the 2-D fields to a line using a pivot point and the angle. --- doc/source/basic_usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/basic_usage.rst b/doc/source/basic_usage.rst index 24c3d79..ff3e704 100644 --- a/doc/source/basic_usage.rst +++ b/doc/source/basic_usage.rst @@ -929,7 +929,7 @@ Example Using Pivot Point and Angle # Calculate the vertical cross section. By setting latlon to True, this # also calculates the latitude and longitude coordinates along the line # and adds them to the metadata to help with plotting labels. - t2_line = interpline(t2, start_point=start_point, end_point=end_point, latlon=True) + t2_line = interpline(t2, pivot_point=pivot_point, angle=angle, latlon=True) print(t2_line, "\n")