I want to do exactly this: https://tex.stackexchange.com/questions/165360/pgfplots-and-gnuplot-how-to-add-asymptote-a-xtick-that-isnt-a-number-and-can/165366#165366?newreg=53a345ba2c3f4f4fbf210af7872b1168 but in gnuplot (without the latex stuff). How can I do that?
This is my plt-file:
reset
set xlabel "Distance [kpc]"
set ylabel "Velocity [km/s]"
unset key
set grid
f(x)=m*x+b
set xrange [0:10]
set yrange [10:]
set xtics
set xtics nomirror
set ytics nomirror
set logscale y
fit f(x) "vd.dat" u 1:2 via m, b
plot f(x) lw 2 lc rgb"black"
set term png
set output "~/uni/J2017+0603/J2017+0603_sim_pm_modified.png"
show output
plot f(x) lw 2 lc rgb"black"
this is the output: plot http://www.ifirn.de/inh/J2017+0603_sim_pm_modified.png
And I want to know, for example, which distance belongs to 87km/s. And I wnat gnuplot to draw a horizontal line from 87km/s to graph, then vertical down to the x-axis and display the result.
