On Thursday 25 June 2009, Murray Eisenberg wrote: > Another possible option is to use PiCTeX, available at CTAN. With > LaTeX, you have to load the PiCTeX macros and then insert the code for > your graph within a \beginpicture...\endpicture environment. I've used > this with LaTeX, but never with LyX. > > Liviu Andronic wrote: > > On 6/25/09, voidie <[email protected]> wrote: > >> i would like to plot a simple function like f(x)=3x^2. I know there > > > > You could also do it with Sweave, but this would require knowledge of R. > > Liviu
I would do this using Grace (http://plasma-gate.weizmann.ac.il/Grace/) and print the plot to a PDF file. This can then be included in LyX as a figure. Within Grace, the menu sequence is: Edit>Datasets>Edit>Create new>By formula -- Les ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
