Comments (7)
It is in 921417b! I added the option to choose 'abc', 'xyz' and 'hkl' coordinate systems to show. Use:
swplot.plotbase('mode','hkl'), etc. Let me know if this is what you wanted!
from spinw.
It is possible. You have to use the separate command that plots the coordinate system:
swplot.plotbase('mode','xyz','replace',false)
Setting the replace
option to false
will avoid deleting the previous coordinate system. You also have to shift the new coordinate system, check out the help for details:
help swplot.plotbase
from spinw.
Simple example:
plot(spinw('https://goo.gl/kQO0FJ'));
swplot.plotbase('replace',false,'mode','xyz','shift',[-3;0;0])
from spinw.
This is very nice! Is it possible to make it so that more than one coordinate system can be plotted simultaneously?
from spinw.
Hi again
It seems to me that there might be a bug in the plotting. Example:
test = spinw;
test.genlattice('lat_const',[4.684 3.423 5.129],'angled',[90 110 90],'sym','C 2/c')
plot(test,'range',[1 1 1 ])
swplot.plotbase('replace',false,'mode','hkl','shift',[-3;0;0])
In this case, L is quite different from c, but h is identical to a, which I think shouldn't be the case.
(edited using the 'replace' false option)
from spinw.
I fixed it, hopefully it is right now: def8482
from spinw.
Seems to work, thanks!
from spinw.
Related Issues (20)
- Overplotting Q vectors on 3D crystal structure HOT 1
- Bug with addaniso when using atomIdx and plotting the structure HOT 3
- Very minor typo HOT 1
- Change spinw.addg and spinw.addaniso to accept string options
- Small visualization bug when plotting unit cell? HOT 2
- plotchem plots bonds outside of unit cell HOT 1
- spinw.gencoupling() generates negative hMax2 which causes an error HOT 3
- Octave support HOT 4
- Monte Carlo calculation of critical temperatures HOT 2
- Unicode error in pyspinw HOT 6
- Usage of transplant.MatlabStruct HOT 1
- New preference class needs Matlab 2017a HOT 2
- Question about SpinW manual and pyspinw (ADDCOUPLING) HOT 1
- pyspinw plotting abnormalities
- Symbolic calculation isn't working
- Visualization of Spinwave
- Bug when plotting octahedra
- Hermit = false is wrong? HOT 1
- Defination of biquadratic exchange
- Bug: incorrect computation of instrument limits
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 spinw.