I’m trying to get my label to be 0 0.25 0.50 0.75 1 1.25 1.50 1.75 2 in x and 3000 4000 5000 6000 7000 in y
I’m using th the vega lite api and i’ve used
vl.x().fieldQ(“pl_flux”).scale({domain:[0, 2]}).axis({values:[0, 0.250, 0.50, 0.750, 1, 1.250, 1.50, 1.75, 2]}),
vl.y().fieldQ(“st_teff”).scale({domain:[0, 7000]}).axis({values:[0, 1000, 2000, 3000, 4000, 5000, 6000, 7000]}),
But when i check the graph it gets rounded up in my x axis and in the y axis since it starts with 3000 theres a big gap in the graph, how can i fix this?