Bonjour JOZAN, Le Forum
Une macro que j'avais mise au point il y a quelque temps...
Les données étant dans "Feuil1" colonne B et C
Sub Graphe_Point_Par_Point()
Xmin = -2
Xmax = 2
Ymin = -2
Ymax = 2
NbrePoints = 43
Tempo = 0.2 ' En secondes
Charts.Add
ActiveChart.ChartType = xlXYScatterSmoothNoMarkers
ActiveChart.SetSourceData Source:=Sheets("Feuil1").Range("B1:C1")
With ActiveChart.Axes(xlValue)
.MinimumScale = Xmin
.MaximumScale = Xmax
End With
ActiveChart.Axes(xlCategory).Select
With ActiveChart.Axes(xlCategory)
.MinimumScale = Ymin
.MaximumScale = Ymax
End With
For i = 1 To NbrePoints
ActiveChart.SetSourceData Source:=Sheets("Feuil1").Range("B1:C" & i), PlotBy:=xlColumns
Start = Timer
Do While Timer < Start + Tempo
DoEvents
Loop
Next i
End Sub
A adapter les variables Xmin, Xmax, Ymin, Ymax et Tempo (delta t entre 2 points) selon les besoins.
Il te restera plus qu'à modifier le ActiveChart.ChartType pour le
tracé toile d'araignée.
Bonne journée
PhiBou