Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
artiq_experiments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Nunez Barreto
artiq_experiments
Commits
5d2ee8a5
Commit
5d2ee8a5
authored
Jan 08, 2024
by
Marcelo Luda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aa39512d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
615 additions
and
2 deletions
+615
-2
lolo_ajuste_3iones_A.py
...plots/20231123_CPTconmicromocion3/lolo_ajuste_3iones_A.py
+597
-0
lolo_graficos_pub.py
...is/plots/20231123_CPTconmicromocion3/lolo_graficos_pub.py
+18
-2
No files found.
analisis/plots/20231123_CPTconmicromocion3/lolo_ajuste_3iones_A.py
0 → 100644
View file @
5d2ee8a5
This diff is collapsed.
Click to expand it.
analisis/plots/20231123_CPTconmicromocion3/lolo_graficos_pub.py
View file @
5d2ee8a5
...
...
@@ -677,6 +677,22 @@ arr = mpatches.FancyArrowPatch((x0, y0*1.1), (x0/2, y0*1.1),
ax_dib
.
add_patch
(
arr
)
ax_dib
.
annotate
(
"ion position"
,
(
.5
,
.5
),
xycoords
=
arr
,
ha
=
'center'
,
va
=
'bottom'
,
color
=
'C1'
)
bbox
=
ax_dib
.
get_window_extent
()
.
transformed
(
fig
.
dpi_scale_trans
.
inverted
())
aspect_ratio
=
bbox
.
width
/
bbox
.
height
ax_dib
.
plot
(
0.1
,
0
,
">k"
,
transform
=
ax_dib
.
transAxes
,
clip_on
=
False
,
ms
=
3
,
lw
=
1
)
ax_dib
.
plot
([
0
,
0.1
],
[
0
,
0
],
"-k"
,
transform
=
ax_dib
.
transAxes
,
clip_on
=
False
,
lw
=
1
)
ax_dib
.
plot
(
0
,
0.1
*
aspect_ratio
,
"^k"
,
transform
=
ax_dib
.
transAxes
,
clip_on
=
False
,
ms
=
3
,
lw
=
1
)
ax_dib
.
plot
([
0
,
0
],
[
0
,
0.1
*
aspect_ratio
],
"-k"
,
transform
=
ax_dib
.
transAxes
,
clip_on
=
False
,
lw
=
1
)
ax_dib
.
text
(
0.1
,
0.13
,
"x"
,
transform
=
ax_dib
.
transAxes
,
fontsize
=
8
,
va
=
'top'
)
ax_dib
.
text
(
0.03
,
0.13
*
aspect_ratio
,
"y"
,
transform
=
ax_dib
.
transAxes
,
fontsize
=
8
,
va
=
'top'
)
# Leyenda ##############################
# h1, l1 = ax_central.get_legend_handles_labels()
# h2, l2 = axx[0,0].get_legend_handles_labels()
...
...
@@ -688,8 +704,8 @@ fig.align_ylabels([ax_central,ax_res])
fig
.
tight_layout
()
#
fig.savefig('grafico_central_opcion_B.png', dpi=300)
#
fig.savefig('grafico_central_opcion_B.pdf')
fig
.
savefig
(
'grafico_central_opcion_B.png'
,
dpi
=
300
)
fig
.
savefig
(
'grafico_central_opcion_B.pdf'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment