You need to use EasyEDA editor to create some projects before publishing
Try to find a Ngspice configue param to cut off some Precision.
1029 2
dillon 10 years ago
To fix this bug [Y axis coarse on some traces](https://easyeda.com/bbs_view_640.htm) The bug is caused by third part free open source code <http://dygraphs.com/>. Ngspice's simualtion resuilt with many figures. So help me to find a way to make Ngspice just out put the right figures. When I search "precision" in ngspice help file, I can't get enough info. Just confige for Meas NGSPICE_MEAS_PRECISION default: 5 Sets the number of digits if output values are printed by the meas(ure) command. So Can you find a configue for OP tran in Ngspice? If can't , We should modify the Ngspice source codes? The test netlist New Schematic 2 .op V1 Vout GND 5.123456789012345678 R1 Vout GND 1k .save V(Vout) .END` I hope we can get the Vout is 5.1235 Thanks.
Comments
example 10 years ago
Does this help? #### 17.7 Internally predefined variables #### page 318: ~~~~ numdgt The number of digits to print when printing tables of data (a, print col). The default precision is 6 digits. On the VAX, approximately 16 decimal digits are available using double precision, so p should not be more than 16. If the number is negative, one fewer digit is printed to ensure constant widths in tables. ~~~~
Reply
example 10 years ago
Um. Just tried: New Schematic V1 VOLPROBE1 GND 5.123456789012345678 .save V(VOLPROBE1) .options numdgt=3 .END Made n o difference to the .op or .tran outputs.
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice