Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CI1164 - Utils
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armando Luiz Nicolini Delgado
CI1164 - Utils
Commits
b8506544
Commit
b8506544
authored
3 years ago
by
Armando Luiz Nicolini Delgado
Browse files
Options
Downloads
Patches
Plain Diff
/* Incluido em 'gnuplot/show3D.gp' função usada em prova de ICC para integral de MC */
parent
c6ced4e6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnuplot/show3D.gp
+18
-3
18 additions, 3 deletions
gnuplot/show3D.gp
with
18 additions
and
3 deletions
gnuplot/show3D.gp
+
18
−
3
View file @
b8506544
#!/usr/bin/gnuplot -c
#!/usr/bin/gnuplot -c
## set encoding iso_8859_15
## set encoding iso_8859_15
set encoding utf
set encoding utf
set terminal qt persist
##
set terminal qt persist
set grid
set grid
set style data point
set style data point
set style function dots
set style function dots
...
@@ -28,8 +28,6 @@ f(x,y) = cos(x) * cos(y) * exp(-(x - pi)**2 - (y - pi)**2)
...
@@ -28,8 +28,6 @@ f(x,y) = cos(x) * cos(y) * exp(-(x - pi)**2 - (y - pi)**2)
splot f(x,y)
splot f(x,y)
pause -1
#
#
# Styblinski-Tang
# Styblinski-Tang
#
#
...
@@ -47,5 +45,22 @@ f(x,y) = 80 + (x**4 - 16*(x**2) + 5*x + y**4 - 16*(y**2) + 5*y)/2
...
@@ -47,5 +45,22 @@ f(x,y) = 80 + (x**4 - 16*(x**2) + 5*x + y**4 - 16*(y**2) + 5*y)/2
splot f(x,y)
splot f(x,y)
#
# Função qualquer
#
set xlabel "X"
set ylabel "Y"
set zlabel "Z"
set title "Função qualquer"
set terminal qt 2 title "Função qualquer"
set xrange [-10000:10000]; set yrange [-10000:10000];
set style function dots
set isosamples 150,150;
f(x,y) = 10e5 * x**2 + y**2 - (x**2 + y**2)**2 + 10e-5 * (x**2 + y**2)**4
splot f(x,y)
pause -1
pause -1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment