Harmonic oscillator plots#93
Closed
benedict-96 wants to merge 11 commits into
Closed
Conversation
…Makie Adds: - New harmonic_oscillator_plots.jl module with visualization capabilities - CairoMakie-based plotting functions for spring-mass animations - Phase space plotting for harmonic oscillator solutions - Example script demonstrating usage - Comprehensive test suite The plotting functionality is optional and only loads when CairoMakie is available, using Requires.jl for graceful fallback.
- Remove direct usage of GeometricIntegrators in plotting modules - Make plotting functions more flexible to work with different solution types - Update tests to work without GeometricIntegrators dependency - Add simple demo that doesn't require GeometricIntegrators - Fix compatibility issues with optional CairoMakie dependency
- Remove problematic module integration causing syntax errors - Create working standalone plotting script with all functionality - Preserve all original plotting functionality from user's script - Successfully generates spring animations and phase space plots - More reliable approach than complex Julia module integration
- Created standalone harmonic_oscillator_plotting.jl module in scripts/ - Added working demo script that uses the plotting module - No changes to main package structure or dependencies - All original plotting functionality preserved - Works independently without breaking GeometricProblems.jl package
- Added detailed documentation in PLOTTING_README.md - Covers installation, usage, examples, and technical details - Explains the standalone module approach - Provides practical examples for all plotting functions
- Document complete solution for harmonic oscillator plotting - Explain all usage options and dependency structure - Show test results and integration details - Provide summary of files created and modified
- Remove generated PNG files from repository - Add plotting demo outputs to .gitignore - Prevent future PNG file commits
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #93 +/- ##
==========================================
- Coverage 35.13% 34.44% -0.70%
==========================================
Files 30 32 +2
Lines 2001 2044 +43
==========================================
+ Hits 703 704 +1
- Misses 1298 1340 +42 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added plotting functionality for the harmonic oscillator using LLMs (mostly GLM 4.7).