Skip to content

unexpected output with 'dumb' terminal with ansi #94

Description

@bgkillas

if i keep 'ansi' from fg.set_terminal(..) then it doesn't print the axis, but if i dont have 'ansi' it does print the axis, i cant replicate this on gnuplot

use gnuplot::Figure;
fn main()
{
 let mut fg=Figure::new();
 fg.set_terminal("dumb size 100,50 aspect 1,1 ansi","");
 let a=1000;
 let mut x=Vec::new();
 let mut y=Vec::new();
 for i in 1..=a
 {
  x.push(i as f64/a as f64);
  y.push((i as f64/a as f64).powf(2.0));
 }
 fg.axes2d().lines(x,y,&[]);
 fg.show();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions