02:33 -!- Prax01D(n=Prax01D@tor58-23b-95-43.dynamic.rogerstelecom.net) has joined #maxima 05:22 -!- emma(i=emeriste@user-12hdpbu.cable.mindspring.com) has joined #maxima 06:35 -!- stw_(n=stw@e176185074.adsl.alicedsl.de) has joined #maxima 06:49 -!- lisppaste4(n=lisppast@common-lisp.net) has joined #maxima 08:35 -!- Prax01D(n=Prax01D@tor58-4-74-101.dynamic.rogerstelecom.net) has joined #maxima 09:12 -!- gabkdlly(n=gabriel@dslb-088-073-043-147.pools.arcor-ip.net) has joined #maxima 13:19 -!- benny99(n=bebenny@p5486C3DC.dip.t-dialin.net) has joined #maxima 13:19 hi 13:30 benny99: hi 13:31 is there a way to create a file "test.max" for example that "compiles to a picture"? 13:32 so I could solve some equations etc. in maxima and draw functions etc. using gnuplot ? 13:36 what I originally wanted to do: I got two functions f(x) and g(x), both linear -- I now want to find the intersection (solve(f(x)=g(x))), draw those two graphs and "mark the spot where they intersect" 13:36 yep, my maxima-knowledge is extremely limited 13:38 you want a maxima script that takes some arguments and outputs a plotted file? 13:38 nope 13:38 without the arguments 13:38 just a script that generates a plotted file 13:40 or 13:41 just a way to do something like "maxima solve(3*x=10-2*x)" and output the result on the shell 13:41 maxima solve(3*x=10-2*x 13:41 2 13:42 benny99: man maxmia? 13:42 i see --batch-string 13:43 $ maxima -q --batch-string 'solve(3*x=10-2*x);' 13:43 (%i1) solve(3 x = 10 - 2 x) 13:43 (%o1) [x = 2] 14:06 lindi-: thanks :) 14:07 hm, but how could I get "2" only now? 14:07 $ maxima -q --batch-string 'ev(x, solve(3*x=10-2*x));' 14:07 (%i1) ev(x, solve(3 x = 10 - 2 x)) 14:07 (%o1) 14:07 $ maxima -q --batch-string 'ev(x, solve(3*x=10-2*x));' 14:07 (%i1) ev(x, solve(3 x = 10 - 2 x)) 14:07 (%o1) 2 14:08 you evaluate "x" in the context of the solution 14:11 and thanks again :) 14:15 but it's not possible to print it without the (%o1) or is it? 14:16 benny99: what are you doing btw? ;) 14:16 I'm trying to create a simple graph 14:16 but it appears to be impossible 14:17 I just want two f***ing graphs with a point at the intersection and a filled area beneath it 14:18 benny99: with some external program? 14:18 it doesn't matter 14:18 i'm just trying to get the picture 14:18 with any program that would be capable of doing that 14:18 all I want is a picture of those two graphs 14:18 for more than 12h now 14:19 and now I'm even becoming offending :/... sorry 14:29 lindi-: here, that's what I want in pseudo-maxima-script: http://pastebin.org/17852 14:32 just foundhttp://maxima.sourceforge.net/maxima-gnuplot.shtml 14:32 gnuplot easy for simple things but imho becomes quite a kludge if you want something more complex 14:35 well, I guess I know how I could realise it if I was able to do something like "plot f(x) with filledcurve x1" in maxima 14:35 there's some obscure way to pass gnuplot options from maxima :) 14:36 plot2d(f(x),[gnuplot_plotoptions, ["with filledcurve x1"]) or something should be possible :( 14:41 -!- Prax01D(n=Prax01D@tor58-23b-95-145.dynamic.rogerstelecom.net) has joined #maxima 14:45 :/ nope, it's not 14:45 ridiculous :| 15:01 "but I mistakenly removed the old syntax for" <-- ah.. 15:04 andy [style...] does not make any sense 15:09 great. 15:15 horrible actually. 15:19 quite horrible. 15:25 I better give up 15:25 it's impossible that's it -- bye 17:46 -!- gabkdlly(n=gabriel@dslb-088-073-043-147.pools.arcor-ip.net) has joined #maxima 18:43 -!- szymon(n=szymon@cca198.neoplus.adsl.tpnet.pl) has joined #maxima 20:37 -!- Prax01D(n=Prax01D@tor58-5-77-140.dynamic.rogerstelecom.net) has joined #maxima