-
I see your point, Ethan; the original purpose of the hack was using gnuplot as a web service, however, where the extra process overhead is significant.
Doesn't the fact we allow image size to be designated in pixels mean that we're superficially concerned with image processing? Otherwise, we'd pick a default size and force people to do:
set output '| convert -resize 600x800 png:-...
2008-09-05 05:38:52 UTC in gnuplot development
-
> It would be closer to correct if you could do 'set isosamples 1',
> but currently that isn't allowed.
The attached patch lets you 'set isosamples 1' and falls back on the
single-curve.
set isosamples 1
plot [-1:1] '+' using 1:(sin($1)):(rand(0)/10.):(rand(0)/10.) \
with vectors
or:
set isosamples 30
plot [-1:1][-1:1] '+' using...
2008-01-17 22:47:10 UTC in gnuplot development
-
This patch adds a crop option for pngcairo à la gd.trm.
For example:
set term pngcairo crop
plot x.
2008-01-16 23:28:36 UTC in gnuplot development
-
> I like the result, but doesn't this patch prevent the use of 2D
> plot style VECTOR with any pseudofile '+' based on a single
> curve rather than on a grid?
The following works, as long as you specify a y-range:
plot [-8:8][-1:1] '+' using ($1):(sin($1)):(cos($1)):(sin($1)) \
with vectors
> Alternatively, could you get the same result by starting from a
> 3D VECTOR plot (splot...
2008-01-16 21:53:38 UTC in gnuplot development
-
See http://wikisophia.org/wiki/User:Danenberg#Direction_field for the above example.
2008-01-16 06:33:15 UTC in gnuplot development
-
Vector plots (e.g. direction and gradient fields) require two dimensions of data; the patch detects whether df_current_plot->plot_style == VECTOR and produces two dimensions of data accordingly.
Example:
set isosamples 20
set samples 20
l = 0.05
f(t,y) = 2*y + 4 - t
g(c,x) = -7/4. + 1/2.*x + c*exp(2*x)
plot [0:2][-4:0] '+' using 1:2:(l):(l*f($1,$2)) \
with vectors title "dy/dt -...
2008-01-16 05:42:22 UTC in gnuplot development
-
A cairopng terminal base on the cairopdf terminal with trivial enhancements; can be used with `set terminal cairopng'.
2007-09-16 02:34:35 UTC in gnuplot development
-
danenberg committed patchset 30 of module wikitex to the MediaWiki CVS repository, changing 26 files.
2006-02-20 02:27:26 UTC in MediaWiki
-
danenberg committed patchset 29 of module wikitex to the MediaWiki CVS repository, changing 12 files.
2006-02-16 08:25:42 UTC in MediaWiki
-
danenberg committed patchset 28 of module wikitex to the MediaWiki CVS repository, changing 46 files.
2006-02-16 08:18:42 UTC in MediaWiki