Inkscape.org
Beyond the Basics Function Plotter: Plotting 2 or more functions simultaneously
  1. #1
    MollyJames MollyJames @MollyJames

    Hello

    I am Creating a Guilloche Tutorial for Inkscape.  A Rosette consists of multiple Sin Functions plotted in polar coordinates, each incremented slightly out of phase (rotated).
    e.g.  [sin(x+0.0)], [sin(x+0.1)], [sin(x+0.2)], [sin(x+0.3)], ...


    I can plot each (120) individually. This is tedious.
    Is there a way to enter all of the iterations in the "Function" box with separators so that they are plotted in one go?
    e.g. [sin(x+0.0); sin(x+0.1); sin(x+0.2; sin(x+0.3); ...]

    or maybe there is a way to invoke Inkscape on the command line with many function parameters for the plotter??

    --Thank you
    Molly

     

  2. #2
    inklinea inklinea @inklinea⛰️

    I don't  think that extension supports multiple entries.

    I could be done by editing the python extension or writing another extension to call the function plotter. 

    The command line as far as I know, does not accept parameters for verbs ( extensions and filters act as verbs ).

    It is quite possible to achieve what you want using the command line, but it is very hacky ( by updating inkscape preferences.xml in the loop to adjust the stored parameters for that function just before Inkscape command line is called. )

    Unless you are happy to do that kind of hacking in Linux, it probably isn't worth it. Certainly not something a normal user of Inkscape would be able to work with.

  3. #3
    inklinea inklinea @inklinea⛰️

    Is it something you just want to do as a one off ? 

    If you are happy to post a long list of the functions, an svg with the correct size rectangle or square and a screenshot of the settings you have in the function plotter. I can try to run on my Linux machine.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Function Plotter: Plotting 2 or more functions simultaneously