I am not really sure if I understand the difference between "the area
between a graph an the x-axis" and "the area below the graph" so I will
answer it the way I understand it.

The way I would do this is to create a function that has value 0, and
fill under that curve with white (see attached vsz file). The only thing
you have to make sure is the order of the curves (i.e that the white is
on top of the colour). Is that what you try to achieve?

Cheers,

Yan

Op 07/06/16 om 17:15 schreef Michael Clerx:
> Dear all,
>
> Does anyone know if the "Fill" functionality can be used to fill the
> area between a graph and the x-axis, not just below or above it?
>
> best,
>  Michael
>
>
> _______________________________________________
> Veusz-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/veusz-discuss

# Veusz saved document (version 1.23.1)
# Saved at 2016-06-07T15:28:32.592692

AddImportPath(u'/Users/grange/tmp')
Add('page', name='page1', autoadd=False)
To('page1')
Add('graph', name='graph1', autoadd=False)
To('graph1')
Add('axis', name='x', autoadd=False)
To('x')
Set('min', -2.0)
Set('max', 2.0)
Set('lowerPosition', 0.0)
Set('upperPosition', 1.0)
To('..')
Add('axis', name='y', autoadd=False)
To('y')
Set('min', -0.53)
Set('max', 2.0)
Set('direction', 'vertical')
Set('lowerPosition', 0.0)
To('..')
Add('function', name='function2', autoadd=False)
To('function2')
Set('function', u'0')
Set('Line/hide', True)
Set('FillBelow/color', u'white')
Set('FillBelow/hide', False)
To('..')
Add('function', name='function1', autoadd=False)
To('function1')
Set('function', u'e**(-x**2)')
Set('FillBelow/hide', False)
To('..')
To('..')
To('..')

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à