Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DJDuque/pgfplots
/ functions
Functions
61 in github.com/DJDuque/pgfplots
⨍
Functions
61
◇
Types & classes
14
↓ 22 callers
Method
add_key
Add a key to control the appearance of the picture. This will overwrite any previous mutually exclusive key. # Examples ``` use pgfplots::{Picture,
src/lib.rs:195
↓ 21 callers
Method
add_key
Add a key to control the appearance of the plot. This will overwrite any previous mutually exclusive key. # Examples ``` use pgfplots::axis::plot::{
src/axis/plot.rs:136
↓ 6 callers
Method
show_pdf
Show the picture environment in a standalone PDF document. This will create a file in the location returned by [`std::env::temp_dir`] and open it with
src/lib.rs:346
↓ 4 callers
Method
set_title
Set the title of the axis environment. This can be valid LaTeX e.g. inline math. # Examples ``` use pgfplots::axis::Axis; let mut axis = Axis::new(
src/axis.rs:136
↓ 3 callers
Method
add_key
Add a key to control the appearance of the axis. This will overwrite any previous mutually exclusive key. # Examples ``` use pgfplots::axis::{Axis,
src/axis.rs:176
↓ 3 callers
Method
set_x_label
Set the label of the *x* axis. This can be valid LaTeX e.g. inline math. # Examples ``` use pgfplots::axis::Axis; let mut axis = Axis::new(); axis.
src/axis.rs:149
↓ 3 callers
Method
set_y_label
Set the label of the *y* axis. This can be valid LaTeX e.g. inline math. # Examples ``` use pgfplots::axis::Axis; let mut axis = Axis::new(); axis.
src/axis.rs:162
↓ 1 callers
Function
snowflake_iter
Stolen from plotters crate example
examples/snowflake.rs:37
↓ 1 callers
Method
standalone_string
Return a [`String`] with valid LaTeX code that generates a standalone PDF with the picture environment. # Note Passing this string directly to e.g.
src/lib.rs:228
↓ 1 callers
Method
to_pdf
Compile the picture environment into a standalone PDF document. This will create the file `jobname.pdf` in the specified `working_dir` (additional fil
src/lib.rs:258
Function
axis_add_key
()
src/axis/tests.rs:118
Function
axis_key_custom_to_string
()
src/axis/tests.rs:55
Function
axis_key_title_to_string
()
src/axis/tests.rs:47
Function
axis_key_x_label_to_string
()
src/axis/tests.rs:39
Function
axis_key_x_mode_to_string
()
src/axis/tests.rs:63
Function
axis_key_y_label_to_string
()
src/axis/tests.rs:31
Function
axis_key_y_mode_to_string
()
src/axis/tests.rs:75
Function
axis_keys_tested
()
src/axis/tests.rs:18
Function
axis_new
()
src/axis/tests.rs:87
Function
axis_set_title
()
src/axis/tests.rs:94
Function
axis_set_x_label
()
src/axis/tests.rs:102
Function
axis_set_y_label
()
src/axis/tests.rs:110
Function
axis_to_string
()
src/axis/tests.rs:162
Function
coordinate_2d_from_long_tuple
()
src/axis/plot/coordinate/tests.rs:13
Function
coordinate_2d_from_short_tuple
()
src/axis/plot/coordinate/tests.rs:4
Function
coordinate_2d_to_string
()
src/axis/plot/coordinate/tests.rs:40
Function
error_character_to_string
()
src/axis/plot/tests.rs:12
Function
error_direction_to_string
()
src/axis/plot/tests.rs:4
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:112
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/axis.rs:36
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/axis/plot.rs:44
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/axis/plot/coordinate.rs:28
Method
from
(axis: Axis)
src/lib.rs:159
Method
from
(plot: Plot2D)
src/axis.rs:105
Method
from
Conversion from an `(x,y)` tuple into a two-dimensional coordinate. # Examples ``` use pgfplots::axis::plot::coordinate::Coordinate2D; let point: C
src/axis/plot/coordinate.rs:56
Function
main
()
examples/fitted_line.rs:7
Function
main
()
examples/snowflake.rs:6
Function
main
()
examples/rectangle_integration.rs:6
Method
new
Create a new, empty picture environment. # Examples ``` use pgfplots::Picture; let picture = Picture::new(); ```
src/lib.rs:181
Method
new
Creates a new, empty axis environment. # Examples ``` use pgfplots::axis::Axis; let axis = Axis::new(); ```
src/axis.rs:122
Method
new
Creates a new, empty two-dimensional plot. # Examples ``` use pgfplots::axis::plot::Plot2D; let plot = Plot2D::new(); ```
src/axis/plot.rs:122
Function
picture_add_key
()
src/tests.rs:35
Function
picture_key_custom_to_string
()
src/tests.rs:20
Function
picture_keys_tested
()
src/tests.rs:12
Function
picture_new
()
src/tests.rs:28
Function
picture_standalone_string
()
src/tests.rs:48
Function
picture_to_string
()
src/tests.rs:62
Function
plot_2d_add_key
()
src/axis/plot/tests.rs:262
Function
plot_2d_new
()
src/axis/plot/tests.rs:255
Function
plot_2d_to_string
()
src/axis/plot/tests.rs:316
Function
plot_key_custom_to_string
()
src/axis/plot/tests.rs:139
Function
plot_key_type_2d_to_string
()
src/axis/plot/tests.rs:147
Function
plot_key_x_error_direction_to_string
()
src/axis/plot/tests.rs:203
Function
plot_key_x_error_to_string
()
src/axis/plot/tests.rs:191
Function
plot_key_y_error_direction_to_string
()
src/axis/plot/tests.rs:235
Function
plot_key_y_error_to_string
()
src/axis/plot/tests.rs:223
Function
plot_keys_tested
()
src/axis/plot/tests.rs:126
Function
plot_type2d_tested
()
src/axis/plot/tests.rs:31
Method
random_jobname
Return a random string that can be used as a `jobname` to compile a [`Picture`] in `std::env::temp_dir()`. This should not overwrite any existing file
src/lib.rs:350
Function
scale_to_string
()
src/axis/tests.rs:5
Function
type_2d_to_string
()
src/axis/plot/tests.rs:57