New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a way to draw lattice bonds (and next-nearest-neighbor links) with gnuplot backend #3
Comments
Gnuplot experts: your intervention is most welcomed :) |
You could use the Or with http://www.gnuplotting.org/arrow-with-t-shaped-head/ http://www.gnuplot.info/demo/arrowstyle.html (far from expert here) |
Oh, thanks for the comment!
|
It is just a minor annoyance with the low-level real :: x(2),y(2)
! just allocating space in a fancy way here,
! I suppose both `set macros` and `@noheads` macro are defined
character(:), allocatable :: link_def = "set arrow from -XXXXXX,-XXXXXX to -XXXXX, XXXXXX @noheads;"
! Writing the coordinates to a string to only then call ogpf
do ...
do ...
write(link_def,'("set arrow from ", g0, ", ", g0, " to ", g0, ", ", g0, " @noheads;")') x, y
call gnu % options(link_def) ! or final_string = final_string // link_def
end do
end do
! or call gnu % options(final_string) Or something similar, at this time I don't recall if multiple calls to |
Ok this sounds actually nice! I'll try it :) |
Refer to commit message in 99061ce.
The text was updated successfully, but these errors were encountered: