File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ - doc improvements (#54) - thanks @HaraldJoerg
2+
130.21 2024-04-22
24- demo now only loads Prima when run, reducing perldl problems
35
Original file line number Diff line number Diff line change @@ -1626,7 +1626,8 @@ you should use pimage::Basic instead.
16261626The x- and y-bounds of your Grid are taken from the dataset x- and y-bounds,
16271627so look into L<PDL::Graphics::Prima::DataSet> for details.
16281628
1629- working here - expand, give an example
1629+ The F<examples> directory in this distribution demonstrates the usage,
1630+ e.g. in F<examples/intensity-plot.pl> .
16301631
16311632=cut
16321633
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ is used.
162162
163163Both L</matrix_plot> and L</imag_plot> take one or
164164three arguments, the first two of which specify the x-bounds and the
165- y-bounds, the third (or only) of which is the matrix to plot
165+ y-bounds, the third (or only) of which is the 2D ndarray to plot.
166166
167167=item plot (...)
168168
@@ -1053,11 +1053,14 @@ and its equivalent L<plot|/"PLOT FUNCTION"> commands are:
10531053 plotType => pgrid::Matrix,
10541054 ));
10551055
1056+ See L<PDL::Graphics::Prima::PlotType/pgrid::Matrix> for how to specify
1057+ the colors, and F<examples/intensity-plot.pl> for a complete example.
1058+
10561059Specifying edges looks like this:
10571060
10581061 matrix_plot ([0 => 5], [1 => 10], $matrix);
10591062
1060- and the quivalent is:
1063+ and the equivalent is:
10611064
10621065 plot(-image => ds::Grid(
10631066 $matrix,
You can’t perform that action at this time.
0 commit comments