Skip to content

[tutorials] adjust annotation3d.C macro#20109

Merged
linev merged 1 commit intoroot-project:masterfrom
linev:annot3d_web
Oct 14, 2025
Merged

[tutorials] adjust annotation3d.C macro#20109
linev merged 1 commit intoroot-project:masterfrom
linev:annot3d_web

Conversation

@linev
Copy link
Copy Markdown
Member

@linev linev commented Oct 14, 2025

Place TAnnotation higher while web graphics uses now real 3D coordinates which were under drawn surface.
Use TCanvas::Add() method for drawing objects on the canvas

Produced output now will look like:

c

Before red label with f(y,x0) was "hidden"

This is how normal graphics render it:
cold

Place TAnnotation higher while web graphics uses
real 3D coordinates which were under drawn surface.
Use TCanvas::Add() method for drawing objects on the canvas
Copy link
Copy Markdown
Member

@couet couet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 18h 34m 27s ⏱️
 3 692 tests  3 692 ✅ 0 💤 0 ❌
79 273 runs  79 273 ✅ 0 💤 0 ❌

Results for commit 6f2472d.

@linev linev merged commit 9a6fb0d into root-project:master Oct 14, 2025
30 of 31 checks passed
@linev linev deleted the annot3d_web branch October 14, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants