|
From: Alexandre F. <o.a...@gm...> - 2010-12-09 00:29:33
|
*In Reply to sfeam* Ok, i am subscribed in the mailing list, and my first try was send it through it. Since i have not received back my mail, i though that it would be a solution post here in the forum. *New questions* i will slowly understand the svn, because i am a windows user, that code alone, only small tasks except in my university research project, where the task is not small, but still i code alone. One Problem: I can't compile. i use gcc 3.4.5 i tried using mingw32-make, it says "Nothing to be done for ..." who can help me, this questions I don't received any mail from this list, there are something wrong (I have enabled the mail delivery) |
|
From: Daniel J S. <dan...@ie...> - 2010-12-09 01:13:17
|
Alexandre Felipe wrote: > One Problem: > I can't compile. i use gcc 3.4.5 i tried using mingw32-make, it says > "Nothing to be done for ..." > who can help me, this questions Perhaps you are missing some files or the path is not correct. Please provide more details Alexandre. Send a block copy of the output of the compile process (so long as it is reasonably small) so we can tell the where/when/why of it stopping. Dan |
|
From: Tatsuro M. <tma...@ya...> - 2010-12-09 02:11:39
|
Hello What is purpose to build gnuplot on windows? If you want to use cvs version, I am continuing distribute the binary on my web. http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ If you want to build by yourself from other reason, you have to prepare a lot of dependencies (libpng, jpeg, gd, freetype, fontconfig, cairo, pango, iconv, intl, and wx). Some libraries are available on the web site but some libraries should be built by yourself. Regards Tatsuro --- Alexandre Felipe wrote: > *In Reply to sfeam* > Ok, i am subscribed in the mailing list, and my first try was send it > through it. > Since i have not received back my mail, i though that it would be a solution > post > here in the forum. > > *New questions* > i will slowly understand the svn, because i am a windows user, that code > alone, only small tasks > except in my university research project, where the task is not small, but > still i code alone. > > One Problem: > I can't compile. i use gcc 3.4.5 i tried using mingw32-make, it says > "Nothing to be done for ..." > who can help me, this questions > > I don't received any mail from this list, there are something wrong (I have > enabled the mail delivery) > > ------------------------------------------------------------------------------ > This SF Dev2Dev email is sponsored by: > > WikiLeaks The End of the Free Internet > http://p.sf.net/sfu/therealnews-com> _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- Learn more about HIV/AIDS - Red Ribbon Campaign 2010 http://pr.mail.yahoo.co.jp/redribbon/ |
|
From: Tatsuro M. <tma...@ya...> - 2010-12-09 05:09:14
|
Hello --- Tatsuro MATSUOKA wrote: > Hello > > What is purpose to build gnuplot on windows? > If you want to use cvs version, I am continuing distribute the binary on my web. > > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > > If you want to build by yourself from other reason, you have to prepare a lot of dependencies > (libpng, > jpeg, gd, freetype, fontconfig, cairo, pango, iconv, intl, and wx). > Some libraries are available on the web site but some libraries should be built by yourself. > > Regards > > Tatsuro > > > > --- Alexandre Felipe wrote: > > One Problem: > > I can't compile. i use gcc 3.4.5 i tried using mingw32-make, it says > > "Nothing to be done for ..." > > who can help me, this questions > > Current Makefile.mgw requires to use the Msys + MinGW toolchain and thus requires the Msys make but not mingw32-make. It is logically possible to use mingw32-make but you have to modify path name handling. BTW, 1. You also have to get the pkg-config command working on the if you want to use the cairo based terminals (pngcairo, pdfcairo and wxt terminals.) 2. I myself could not built the gnuplot for a long time. But now I am building it about twice per a week. It is not easy way to build gnuplot on windows but you can do it if you strongly hope to do it. 3. I personally use GCC-4.5.0 but not 3.4.5 on the MinGW from the performance reason. Good Luck Tatsuro Regards -------------------------------------- Let's write special new year cards! - Yahoo! JAPAN Nengajo 2011 Special Site - http://pr.mail.yahoo.co.jp/nenga2011/ |
|
From: Alexandre F. <o.a...@gm...> - 2010-12-09 12:06:43
|
I downloaded the source in a zip file from the web-based svn in the sourceforge. The purpose to build gnuplot for windows is that i want include a feature there. It is a simple one, predict discontinuities on function interavals, would you tried plotting 1/x with lines? my intention is create some stuff to handle discontinuities, and then improve the automatic choose for ploting range in fundamental singularities points, since it should be not be displayed anyway, it's not smart grow the range to view every points, more over, if the function have mor than one singularity in usually one of then determines the plotting range and the other are not ocuppying all the chart area. When this issue is resolved, is time to hack 3D charts. The main problem i am facing is that i have a little experience on conpilling projects from source, i would like to learn more about, but my time is sparse, my use of open source where run the compiled programs, or learn some programming tecnics to apply in my programs, that are generaly for particular use. I still don't know how it works but what i will need is only one terminal say wxt (i have already the wxWidgets configured in my machine). For my purpose i could disable all-1 terminals, and plot only 1d functions in 2d space, because my first change is in the valuation of functions. Could someone having a windows compiling version send-me only the important archives preferably reducing the dependency from other souces, i repeat, i'm not a compiler expert, please be understanding, I use code::blocks, if some can create a code::blocks project and put it working, even if with limited features, i would be grateful. In the "binary" dir there are several .dll, using it in some way with the linker is not enough? |
|
From: Petr M. <mi...@ph...> - 2010-12-09 15:30:10
|
> I downloaded the source in a zip file from the web-based svn in the > sourceforge. I wonder about this ... I can only see "Download GNU tarball" (i.e. .tar.gz) at http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/ > The purpose to build gnuplot for windows is that i want include a feature > there. It is a simple one, predict discontinuities on function interavals, > would you tried plotting 1/x with lines? my intention is create some stuff > to handle discontinuities, and then improve the automatic choose for > ploting range in fundamental singularities points, since it should be not > be displayed anyway, it's not smart grow the range to view every points, > more over, if the function have mor than one singularity in usually one of > then determines the plotting range and the other are not ocuppying all the > chart area. When this issue is resolved, is time to hack 3D charts. The > main problem i am facing is that i have a little experience on conpilling > projects from source, i would like to learn more about, but my time is > sparse, my use of open source where run the compiled programs, or learn > some programming tecnics to apply in my programs, that are generaly for > particular use. I still don't know how it works but what i will need is > only one terminal say wxt (i have already the wxWidgets configured in my > machine). For my purpose i could disable all-1 terminals, and plot only 1d > functions in 2d space, because my first change is in the valuation of > functions. Could someone having a windows compiling version send-me only > the important archives preferably reducing the dependency from other > souces, i repeat, i'm not a compiler expert, please be understanding, I > use code::blocks, if some can create a code::blocks project and put it > working, even if with limited features, i would be grateful. In the > "binary" dir there are several .dll, using it in some way with the linker > is not enough? The most easy way to compile win32 binary is to get MingW32 and use "make -f Makefile.mgw". You will get the traditional windows terminal, not wxt, but you don't have to deal with all the dependencies. --- PM |
|
From: Peter J. <pet...@gm...> - 2010-12-09 16:43:05
|
On Thu, Dec 9, 2010 at 1:06 PM, Alexandre Felipe <o.a...@gm...> wrote: > I downloaded the source in a zip file from the web-based svn in the > sourceforge. > The purpose to build gnuplot for windows is that i want include a feature > there. It is a simple > one, predict discontinuities on function interavals, would you tried > plotting 1/x with lines? Umm, have you ever tried plotting 1/x with a fixed yrange and a large sample size? (e.g. "set yrange [-10:10]; set sample 1000; plot 1/x") my intention is create some stuff to handle > discontinuities, How exactly do you intend to do this? Gnuplot doesn't have any capabilities for function analysis. All it does is evaluating the function at regular intervals, then connecting the x,y pairs with line segments. Finding discontinuities (or determining whether a function is continuous in a given interval) is quite hard for an arbitrary function. and then improve the automatic > choose for ploting range in fundamental singularities points, since it > should be not be > displayed anyway, it's not smart grow the range to view every points, more > over, if the > function have mor than one singularity in usually one of then determines the > plotting range > and the other are not ocuppying all the chart area. I can't follow this at all. When this issue is > resolved, is time to hack 3D charts. The 3D code doesn't need any more hacks, it needs a thorough rethinking and rewriting. > The main problem i am facing is that i have a little experience on > conpilling projects from > source, i would like to learn more about, but my time is sparse, my use of > open source > where run the compiled programs, or learn some programming tecnics to apply > in my > programs, that are generaly for particular use. > I still don't know how it works but what i will need is only one terminal > say wxt (i have > already the wxWidgets configured in my machine). For my purpose i could > disable all-1 > terminals, and plot only 1d functions in 2d space, because my first change > is in the valuation of functions. Could someone having a windows compiling > version send-me only the important archives preferably reducing the > dependency from other souces, i repeat, i'm not a compiler expert, please be > understanding, I use code::blocks, if some can create a code::blocks project > and put it working, even if with limited features, i would be grateful. > In the "binary" dir there are several .dll, using it in some way with the > linker is not enough? You may be better off with installing and learning to use a linux system where you don't have to shoot yourself in the foot if you want to compile anything. Péter Juhász |
|
From: Tatsuro M. <tma...@ya...> - 2010-12-09 22:47:30
|
Hello --- Peter Juhasz wrote: > > You may be better off with installing and learning to use a linux > system where you don't have to shoot yourself in the foot if you want > to compile anything. Another option to build gnuplot on windows is to use the cygwin. Unfortunately the wxt terminal cannot be built with libraries installed with cygwin setup.exe but almost all terminals can be implemented far easier than on native windows. Lacking of wxt terminal on the cygwin can be covered if you use the pngcairo terminal. (Of course it it cannot be used interactively but quality of the bitmap image is the almost the same as that made by wxt terminal.) Regards Tatsuro -------------------------------------- Let's write special new year cards! - Yahoo! JAPAN Nengajo 2011 Special Site - http://pr.mail.yahoo.co.jp/nenga2011/ |
|
From: Alexandre F. <o.a...@gm...> - 2010-12-09 21:23:17
|
Yes, I know that increase the number of samples and plot with dots may work.
this could resolve the problem until the user zoom the chart.
Whatever is the GNU tarball it appeared with the source code.
*Finding discontinuities (or determining whether a function
is continuous in a given interval) is quite hard for an arbitrary
function.*
*How exactly do you intend to do this?*
The user defined functions is not so arbitrary. and my analisis is for
simple functions
supose that i know f(x) and g(x)
if(c = discontinuity of f){
if((g(x1) < c) != (g(x2) < c)) {
an treat it or only break the line betwen x1 and x2
or find the closer x3 of the discontinuity and plot two points there
one with the limit(f(x), x -> x3+) and other with limit(f(x), x -> x3-)
i don't know how the gnuplot handles it internaly but it handles
plot '-' with lines
1 2
2 2
2 1
2 1
e
}
}else if(c = discontinuity of g betwen x1 and x2){
plot the function in c with the two lateral limits
}
it's easy to implement it recursively less than 1000 lines i think :D
discontinuities that i know
1/x - x = 0
x < 0, x = 0
gamma(x), x integer < 0
floor(x), x integer
it there are others is only specify
so the returning value in each evaluation should carry information about the
discontinuity only for the
working interval,
this will work for functions with a limited number of discontinuities, say
n(discontinuities) <= samples
this will increase the evaluation complexity by something about 3 times,
wich i think is not a problem, since rendering is in most cases much more
costly
> and then improve the automatic
> choose for ploting range in fundamental singularities points
I can't follow this at all.
it's only a different way of determining xmin and xmax, in the configuration
of the plot is determine as the values can be out of the image, plot loss,
say 5%, meaning that if the [tx]range is of lenght L, only 0.05*L can be
represented out of the chart area.
first i evaluate all points in the curve.
when i find a singularity i assign it's value like is the lateral limits
if is(finite or zero){
adjust yrange to contain this discontinuity
}
if it's not a discontinuity but is a critical point
adjust the yrange to contain this discontinuity
all +inf -inf are disqualified to be range delimiters
but are placed in a list priority_queue would be fine
yrange_m is this range
if yrange don't contains (100% - char_loss) it's needed to increase it
for this it can be taken every neighbor of +inf or -inf and include it
yrange_max = yrange_m * inf_importance
while(yrange_max < yrange){
xrange_p = xrange
include the nearest y that is out of yrange
}
if(yrange_max / yrange_p < yrange / yrange_max){
yrange = yrange_p;
}
i particularly don't think is important represent ifinitum, i would assign
inf_importance something like 2.0
complexity O(N Log N) in respect to samples, because for the second stage
it's not a simple investigation, but a
inclusion by priority.
There are still another approach that is:
positive_attractiveness = sum(1/derivative(outgoing point) -
derivative(1/incoming point) at ymax))
negative_attractiveness = sum(-1/derivative(outgoing point) +
derivative(1/incoming point) at ymin))
ymax +=
(increase*positive_attractiveness/(positive_attractiveness+negative_attractiveness))
ymin -=
(increase*negative_attractiveness/(positive_attractiveness+negative_attractiveness))
as the function is interpolated by straight lines derivative is the angular
coefficient
it can be used in the last step when i know that derivative will not change,
there after the while
while(yrange_max < yrange){
xrange_p = xrange
include the nearest y that is out of yrange
}
increase = yrange - yrange_max;
it fit the range to exactly yrange_max.
Other thing that would be fine is to ensure that all inflection points are
inside the chart, but it is a quite complex to explain here and now, since i
took more than half hour to write this kkk
I'd like very much linux, but between linux and internet i chose internet,
moreover, with linux at least you change information only with people with
linux it's needed to face so many compability problems.
other linguistic and grammatical corrections are welcome in English to join
this mailing list I just read.
|
|
From: Daniel J S. <dan...@ie...> - 2010-12-09 21:40:42
|
Alexandre Felipe wrote:
> Yes, I know that increase the number of samples and plot with dots may
> work. this could resolve the problem until the user zoom the chart.
> Whatever is the GNU tarball it appeared with the source code.
>
> /Finding discontinuities (or determining whether a function
> is continuous in a given interval) is quite hard for an arbitrary
> function./
> /How exactly do you intend to do this?/
>
> The user defined functions is not so arbitrary. and my analisis is for
> simple functions
> supose that i know f(x) and g(x)
>
> if(c = discontinuity of f){
> if((g(x1) < c) != (g(x2) < c)) {
> an treat it or only break the line betwen x1 and x2
> or find the closer x3 of the discontinuity and plot two points there
> one with the limit(f(x), x -> x3+) and other with limit(f(x), x -> x3-)
> i don't know how the gnuplot handles it internaly but it handles
>
> plot '-' with lines
> 1 2
> 2 2
>
> 2 1
> 2 1
> e
> }
> }else if(c = discontinuity of g betwen x1 and x2){
> plot the function in c with the two lateral limits
> }
>
>
> it's easy to implement it recursively less than 1000 lines i think :D
>
> discontinuities that i know
> 1/x - x = 0
> x < 0, x = 0
> gamma(x), x integer < 0
> floor(x), x integer
> it there are others is only specify
> so the returning value in each evaluation should carry information about
> the discontinuity only for the
> working interval,
If you know the limit points of your functions then there are ways to construct plots of multiple segments and achieve what you are looking for. Take a look at some of the examples in the demos:
http://gnuplot.sourceforge.net/demo_4.4
In particular, the statistical distributions have some good examples:
http://gnuplot.sourceforge.net/demo_4.4/prob.html
Check out the gamma function plot.
Dan
|
|
From: Petr M. <mi...@ph...> - 2010-12-09 22:24:08
|
> Yes, I know that increase the number of samples and plot with dots may work. > this could resolve the problem until the user zoom the chart. > > The user defined functions is not so arbitrary. and my analisis is for > simple functions > supose that i know f(x) and g(x) What about a proper combination of sampling and clipping? Compare these plots: set yrange [-500:500] plot tan(x) and set samples 10000 set clip one set yrange [-500:500] plot tan(x) > I'd like very much linux, but between linux and internet i chose internet, ??? --- PM |
|
From: Alexandre F. <o.a...@gm...> - 2010-12-09 23:21:56
|
> > What about a proper combination of sampling and clipping? Compare these > It's new for me, now i'm not so sure of the benefits of implementing that... |