Skip to content

plots.pl - start_mark and end_mark don't respect the color option #1483

Description

@dlglin

When graphing a formula using plots.pl, start_mark and end_mark are plotted in black in jsgraph even if color is set. In hardcopy they match the color of the graph. Here's a MWE:

DOCUMENT();

loadMacros(
    "PGstandard.pl","PGML.pl",'plots.pl',"PGcourse.pl");

$plot=Plot();
$plot->add_function('.5x','x',-5,5,color=>'red',start_mark=>'arrow', end_mark=>'arrow');

BEGIN_PGML
[! !]{$plot}
END_PGML

ENDDOCUMENT();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions