You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();
}
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: