Geogebra fill color for enclosed areas with curves and line blending boundaries

Source: Internet
Author: User

Objective

Draw the curve you see with Geogebra, and fill the area of the boundary as solid;

Implementation of the code is certainly possible, but it is not economical to use code when the graphics are too simple. Because each small change is also adjusted to change the code and preview, not WYSIWYG. Often less convenient than interactive drawing.

In order to achieve this sample map, the code wrote the following so long, or adjust the preview after half a day to repeat the effect:

Plot[x^2,{x,0,1},Plotstyle-Red,Epilog-{dashed,green,thickness->0.0005,line[{{1,0},{ * *},{0,1}}],Blue, Line[{{0,1/4},{1,1/4}}]},Filling-0.25,Fillingstyle-Directive[Blue,Opacity[0.38]],Axesstyle-arrowheads[. 035],plotrangepadding-Scaled[. 1],Aspectratio-1,Axeslabel(Style[#,Black, -,FontFamily-"Times New Roman",Italic,Bold]&/@{"x", "Y"}),Ticksstyle-Directive[Black, -,FontFamily-"Arial"],ImageSize- -,Ticks-{(range[11]-1.) /10, Automatic}]
Try

Locus command failed :

In GeogebraLocusA command is generally a recommended command that fills an irregular area, including a curve boundary, roughly:
1. Define a closed list in a specific hour order, surrounded by "{" + "}", orSequence[]Custom
2. Then usePoint[list,0~1]Assign a value to a point X , the point is on the boundary;
3. Redefine a point equal to this pointY=X(Very strange, has not been clear what is going on);
4. Finally uselocus[]Command:Locus[X,Y]OrLocus[Y,X]will be able to.

The enclosed area of the defined locus can be used as a separate object, and it can complete various filling operations such as color, boundary, inner texture and so on.

However, this does not look at YouTube videos or other similar flash tutorials is not easy to understand the fact that the present method, due to very unreasonable.


All in all, the original primaries are made by locus functions or commands (three circles are 22 to each other, and then each closed area of the intersection has a different monochrome color).



Just this time using the same method unexpectedly, get out of the effect such as the following:

This means that at least the current version number of the Locus command has a very flawed flaw. I don't know how it works and how it is achieved. It is expected that the bounding area is related to the curvature radius of the curve and the default normal square.

It's not perfect, anyway.

After Rami (RAYMOND) hint, instead of using their own definition function plus IntegralBetween combined use, define the integration interval as the filling area of the way to find feasible.

Steps:
1. Define the upper and lower bounds as different functions, for example f(x)=x^2, g(x)=0.25
2. Then IntegralBetween[ f, g, 0, 0.5] define the corresponding area of the left integral, and IntegralBetween[g,f,0.5,1] corresponding to the area on the right;

The enclosing interval defined in this way can also be used as a separate drawing object for filling operations.

However, it is necessary to define 6 functions and 14 integrals by using Integralbetween to make the primary color map:

In any case, this function in Geogebra is stronger than the geometric artboard.

Geogebra fill color for enclosed areas with curves and line blending boundaries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.