diff --git a/collects/plot/plot.scrbl b/collects/plot/plot.scrbl index 34dad1f1de..a8a8c752ff 100644 --- a/collects/plot/plot.scrbl +++ b/collects/plot/plot.scrbl @@ -276,7 +276,7 @@ viewed in the DrRacket interactions window. [#:bgcolor bgcolor (list/c byte? byte? byte) '(255 255 255)] [#:lncolor lncolor (list/c byte? byte? byte) '(255 0 0)] [#:out-file out-file (or/c path-string? output-port? #f) #f]) - (is-a?/c snip%)]{ + (is-a?/c image-snip%)]{ Plots @scheme[data] in 2-D, where @scheme[data] is generated by functions like @scheme[points] or @scheme[lines]. @@ -284,7 +284,7 @@ functions like @scheme[points] or @scheme[lines]. A @scheme[data] value is represented as a procedure that takes a @scheme[2d-view%] instance and adds plot information to it. -The result is a @racket[snip%] for the plot. If an @racket[#:out-file] +The result is a @racket[image-snip%] for the plot. If an @racket[#:out-file] path or port is provided, the plot is also written as a PNG image to the given path or port.} @@ -306,7 +306,7 @@ the given path or port.} [#:fgcolor fgcolor (list/c byte? byte? byte) '(0 0 0)] [#:bgcolor bgcolor (list/c byte? byte? byte) '(255 255 255)] [#:lncolor lncolor (list/c byte? byte? byte) '(255 0 0)]) - (is-a?/c snip%)]{ + (is-a?/c image-snip%)]{ Plots @scheme[data] in 3-D, where @scheme[data] is generated by a function like @scheme[surface]. The arguments @scheme[alt] and @@ -556,7 +556,7 @@ produces a list of @scheme[_z] column values.} @; ---------------------------------------- -@defclass[plot-view% object% ()]{ +@defclass[plot-view% image-snip% ()]{ @defmethod[(get-x-min) real?]{