add arrows and arrows3d to allow plot arrows directly#42
add arrows and arrows3d to allow plot arrows directly#42pbpf wants to merge 5 commits intoracket:masterfrom
Conversation
add arrow-head-size-scale & arrow-head-angle-scale to allow user change behavior of function draw-arrow.
add two parametersto function draw-arrow now it is (draw-arrow v1 v2 [head-size-scale (arrow-head-size-scale)][head-angle-scale(arrow-head-size-scale)])
add arrows and arrows3d to plot arrows
|
Remaining work on this pull request:
Given that this is an old pull request, I will work on these tasks, as time allows. |
|
Hi @pbpf , I understand this is an old pull request and I am happy to complete the work to merge it in, but before I do that, can you please explain what types of data needs to be plotted using arrows? The |
|
I don't know the original use case for this pull request, but at some point I did something similar to make plots for a course in mechanics: |
|
Thanks for providing an example and for wanting to work on this. The simplest way is to start a new branch in your repository, merge this branch into yours and continue the work, creating a new pull request. Last I checked, the build was failing for this branch (the pull request was created before automated builds were set up). Let me know if you need help with anything. |
|
This is now done as part of #67, closing this pull request. |
add arrows and arrows3d to allow plot arrows directly;
now,we can do:
#lang racket
(require plot)
(plot3d (arrows3d (list (vector (vector 0 0 0) (vector 1 1 1))))
))