About
using CairoMakie
= LinRange(0, 10, 100);
xs = LinRange(0, 10, 100);
ys = [cos(x) * sin(y) for x in xs, y in ys];
zs =[-cos(x) * cos(y) for x in xs, y in ys];
us=[-sin(x) * sin(y) for x in xs, y in ys];
vs= Figure(backgroundcolor = RGBf0(0.98, 0.98, 0.98),
fig = (1000, 600))
resolution
= fig[1, 1] = Axis(fig, title = "Test")
ax1 #scene, layout = layoutscene(resolution = (1000, 600))
#scene, layout = layoutscene()
#display(scene)
#ax1 = layout[1,1] = LAxis(scene)
heatmap!(ax1, xs, ys, zs, colormap=cgrad(:jet, 10, categorical=true), interpolate=true)
= AxisAspect(1)
ax1.aspect = 1:10
ax1.xticks = 0:10
ax1.yticks contour!(ax1,xs, ys, zs, levels = 10, linewidth = 1, fillrange = true)
contour!(ax1,xs, ys, zs, levels = 10, linewidth = 0.2, fillrange = false, color = "black")
arrows!(ax1,xs,ys,us,vs, arrowsize = 0.25, lengthscale = 0.25)
#heatmap!(ax2, xs, ys, zs, colormap=:starrynight)
#ax1.aspect = AxisAspect(1)
fig
import plotly.graph_objects as go
import pandas as pd
# Read data from a csv
= pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/api_docs/mt_bruno_elevation.csv')
z_data
= go.Figure(data=[go.Surface(z=z_data.values)])
fig
='Mt Bruno Elevation', autosize=False,
fig.update_layout(title=500, height=500,
width=dict(l=65, r=50, b=65, t=90))
margin
fig.show()
1 Modelos de Capas
\dfrac {\partial \overrightarrow {u}_{i}}{\partial t}+\overrightarrow {u}_{i}\cdot {\nabla \overrightarrow u}_{i}+f \overrightarrow {k}\times \overrightarrow {u}_{i}=-\dfrac {1}{\rho _{0}}\nabla P_{i}
\dfrac {\partial h_{i}}{\partial t}+\nabla \cdot \left( h\overrightarrow {u}_{i}\right) =0
\dfrac {\partial P}{\partial z}=-\rho g