Hi Alice,
Am 12.09.2010 10:31, schrieb Alice Lieberwirth: > Hi Christian, > I'm sorry to disappoint you, but gnuplot gives me out the pictures attached > :) the one I wanted to plot with pgfplots is mb-water.png, the other one - > mb-plain.png - is the plot of f(x)=x^2*exp(-x^2), which "works" with > pgfplots, but it doesn't look very good (in pgfplots it's kind of "edged"), I > plotted both in gnuplot to see what the xrange should be. I tried to set that > range in my tex-file (xmin=0,xmax=100 for example, now yrange was set!) but > the function is only plotted till x=5, I get a blue dot-line, which is > pressed to the left side of the picture. So why doen's it work, does someone > know? Ok. I have just copy-pasted your expression into gnuplot and it appeared to be the same using a similar domain... I suppose the contribution of Stefan Pinnow is more adequate in this respect as mine was (see his mail). > I hope also we can find a html-solution for the package, because making a > copy and making a png-file from it is a way I can also do in gnuplot ;) I'll > hold my eyes open and tell if I find something! I agree completely here - with one addition: any latex2html tool *will* need to convert graphics to some portable image format. And there are only two relevant image formats for html here: SVG and PNG. The only question is how much work is to be done for the conversion. I encourage you to try out my solution (2) from my previous mail. If everything works correctly, it requires few work. The alternative latex2html program is no longer maintained as far as I know, whereas the htlatex program is. Perhaps htlatex, combined with solution (2), already does all you need? If I find a solution to make pgfplots compatible with latex2html (probably by automatically generating PNG images for every picture), I will let you now. Best regards Christian > -------- Original-Nachricht -------- >> Datum: Sat, 11 Sep 2010 22:04:50 +0200 >> Von: Christian Feuersaenger<chr.feuersaen...@arcor.de> >> An: pgfplots-features@lists.sourceforge.net >> Betreff: Re: [Pgfplots-features] plotting maxwell-boltzmann-distribution and >> making html > >> Hi Alice, >> >> The technical points of pgfplots appear to be correct; the curve is >> exactly the same as in gnuplot. But if I am not mistaken, you are search >> for verifications of the provided formula? I fear I am unaware of what >> the correct outcome should be here... >> >> The second question is interesting for me as well. I wanted to implement >> support for latex2html, but I found no good documentation for how to >> modify the existing latex2html perl scripts. If anyone has scripts, sent >> them to me. >> >> I am aware of three alternatives: >> a) Do it manually. More precisely, use the image externalization library >> coming with pgfplots: convert each picture to pdf, then to png and >> include these on your web page, >> >> b) Do it in Two-Steps automatically: >> - Use the image externalization library coming with pgfplots to >> generate EPS (!) graphics for every pgfplots figure (works fully >> automatic) >> - Use tex4ht to convert the result to html. This works fully automatic >> with >> htlatex alltagsprobleme.tex >> >> c) EXPERIMENTAL: Use tex4ht, but instead of png graphics for every >> picture, let tex4ht generate SVG graphics. >> tex4ht is a modern replacement of latex2html, and tikz will be converted >> to SVG. The driver is more or less experimental, though - it will have >> less quality and might not work at all. If you like to experiment, you >> can try it. >> >> Since I am interested in this sort of conversion, I tested it and >> attached the results at the end of this mail, try it out. You will need >> an installation of tex4ht (available as ubuntu package). >> >> The attached tex4httests.zip contains two directories, the >> ./htlatex_external directory realizes idea (b) and >> ./htlatex realizes idea (c). >> Both directories contain the resulting output, simply display the files >> alltagsprobleme.html in your favorite browser. >> To reproduce the results, you can delete all files except the >> alltagsprobleme.tex files in the respective directories. I wrote >> instructions into these .tex files. >> >> Best regards >> >> Christian >> >> Am 11.09.2010 17:05, schrieb Alice Lieberwirth: >>> Hi Folks, >>> I have just two new problems :) The first one ist attached: I tried to >> plot a maxwell-boltzmann-distribution for water at 20°C, but out comes just >> a polynomial (looks like an exponential, but xmin is set on zero, so the >> left part isn't seen), when try a distribution with less conditions (see >> comment in line 16), pgfplots makes me the distribution, but it doesn't look >> very good and it's not for water of course, so the shown velocities aren't >> right (I put the calculated velocity in the maxima beneath the picture) >>> >>> Well, when somebody can help me with the first problem, you can also >> answer me: Is there a possibility to include such pgfplots in a >> latex2html-site? I just tried but there is no picture in the html :( >>> >>> Thanks so long! >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing >>> http://p.sf.net/sfu/novell-sfdev2dev >>> >>> >>> >>> _______________________________________________ >>> Pgfplots-features mailing list >>> Pgfplots-features@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/pgfplots-features >> > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Pgfplots-features mailing list Pgfplots-features@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgfplots-features