Comments (2)
In matplotlib, this is possible using the command twinx, see the code below. I don´t know how easy it is to integrate this code in Reptate.
import numpy as np
import matplotlib.pyplot as plt
fig, ax1 = plt.subplots()
t = np.arange(0.01, 10.0, 0.01)
s1 = np.exp(t)
ax1.plot(t, s1, 'b-')
ax1.set_xlabel('time (s)')
Make the y-axis label, ticks and tick labels match the line color.
ax1.set_ylabel('exp', color='b')
ax1.tick_params('y', colors='b')
ax2 = ax1.twinx()
s2 = np.sin(2 * np.pi * t)
ax2.plot(t, s2, 'r.')
ax2.set_ylabel('sin', color='r')
ax2.tick_params('y', colors='r')
fig.tight_layout()
plt.show()
from reptate.
I think this would complicate the code a lot without adding any necessary functionality
from reptate.
Related Issues (20)
- Add documentation for the Rs parameter in GLaMM
- When showing all theories applied to a dataset, could each theory have different graphical attributes? HOT 1
- Some Apps do not work in CL mode (i.e. React)
- Find Peaks fails when fitting a parabola for very noisy data
- React Theories do not work in CL HOT 2
- Save polyconf does not work on Windows when folders have latin characters HOT 2
- Error when closing a theory HOT 1
- Error in DSMLinear theory HOT 1
- colorama in RepTateCL HOT 2
- MWD log-log view does not work well when there is a theory HOT 1
- Small edits needed in theory fit option dialog
- Creep retardation mode HOT 5
- Bug in TTS automatic HOT 1
- Missing import in excepthook of RepTate.CL HOT 1
- Online documentation build failed HOT 1
- Bug in Log Normal distribution HOT 1
- configuration of polymer HOT 5
- Error "TypeError: resizeSection(self, int, int): argument 2 has unexpected type 'float'" HOT 1
- error trying to install and open RepTate
- NameError: name 'schwarzl_lib' is not defined (when trying to open RepTate after installation)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reptate.