gnuplot的妙用

用批处理命令生成出版质量的图片要比点鼠标好很多。但是,图片中插入中文以及公式,由于字体的问题经常会比较困难。

今天发现一个好的方法:利用gnuplot的epslatex terminal,然后用LaTeX或者xeLaTeX编译,接着dvips -E生成eps。这样就可以用LaTeX公式和xeLaTeX的字体了。

例如:

  1. 编辑一个可执行文件testEpslatex.plt如下
  2. set term epslatex standalone color
    set output ‘test.tex’
    set xlabel ‘x’
    set ylabel ‘$f\left(x\right)$’
    f(x)=exp(x) #just as an example
    plot f(x) w l title “$e^{x}$”
    set output
    unset key

  3. 然后运行(可以用makefile,make testEpsLatex)
  4. testEpslatex: testEpslatex.plt
    ./testEpslatex.plt
    latex test.tex #latex can be replaced by xelatex
    latex test.tex
    dvips -E test.dvi
    mv test.ps BACKUP.eps #better to get a unoccupied name
    rm test.*
    rm test-inc.eps
    mv test.ps test.eps

就能够得到test.eps。

转贴:鼓励的力量:“谢谢你”影响深远 The Power of Praise: 'Thank You' Goes a Long Way

来自于http://www.inc.com/kathleen-kim/a-simple-thank-you-drives-stronger-business.html

鼓励的力量:“谢谢你”影响深远

The Power of Praise: ‘Thank You’ Goes a Long Way
New research reveals something pretty obvious. Thanking and rewarding employees can give your business a boost.

Don’t hold off until annual performance reviews to praise stellar employees. A simple “thank you” here and there can boost efficiency and even help your business make more money.

根据这个新的研究(或者,同样靠谱的,常识),那些在对其员工的贡献认同方面做的好的企业,其商业表现经常在那些做的不好的企业的12倍以上。
According to new research (and, perhaps, the laws of common sense) companies that excel at employee recognition are 12 times more likely to generate strong business results than those that do not.

In companies focused on rewarding their workers, employee engagement, productivity and customer service were about 14% better than in those that skimp on recognition, the study found.

The study was conducted by advisory services firm Bersin & Associates President and CEO Josh Bersin wrote recently that “high-recognition culture” companies share three common traits:

First, they build focused recognition programs which collect “thank you’s” and “feedback” from peers, not just managers. Second, they directly tie recognition to business goals and company values, so recognition reinforces strategy. Third, they give employees open and transparent access to the program – so everyone can see who is being recognized and anyone can recognize another.

But to really praise like a pro, start here:
但是要注意一下三条:

1、要具体,有所针对,而不是泛泛表扬
1. Be specific and know your people: Inc. columnist Gail Browning recently wrote: Our research at Emergenetics indicates that most employees would enjoy a personal thank-you note, but they want it customized to them. For example, to say, “You’re doing a good job,” is fine for a “social” thinker, but a “structural” thinker doesn’t trust you unless you add a specific task he has accomplished.”

2、考虑表扬的方式:有的人喜欢当着很多人的面,有的人喜欢私下
2. Consider the delivery: The way a thank you comes across is just as important as the thank you itself. Inc.’s Jeff Haden recently wrote: Every employee responds differently to recognition. Many appreciate public praise. Others cringe if they’re made the center of attention. Know your employees and tailor your recognition so it produces the greatest impact for each individual.

3、让大家都参与进来:成为一种氛围。
3. Get everyone involved: A thank you shouldn’t be just one-on-one. Encourage your entire company to promote appreciation and praise. Inc.’s Jay Love recently advised: Insist on your department heads sharing stories from their departments and highlighting the achievements of team members at the monthly All-Company Meeting. Lively presentations that include photographs, videos and client comments make this one even better!

吴金闪加的注:赏罚分明,有原则(最好是写下了来的原则,然后是默认的共识的原则),是领导力最根本的来源,而不是老大赋予的。没有赏罚(可以是口头的或者是其他方式的),就没有管理。做管理学的同行,是不是可以借鉴他们的研究方法来尝试做一个对比:只有表扬的企业或者部门,有赏有罚的企业或者部门,其表现的对比。

Jinshan's CV

Jinshan’s Curriculum Vitae

Curriculum Vitae

Jinshan Wu

Department of Systems Science

Beijing Normal University

Tel: +86-10-58807876(O), +86-18610014018(M)

E-mail: Jinshanw@bnu.edu.ca


<

ul>

  • Education

    • 2011, PH.D. in Condensed Matter Physics, Department of Physics & Astronomy, University of British Columbia (UBC)
    • 2003-2004, one year in a PH.D. program in Simon Fraser University (SFU), and then transferred to UBC
    • 2006, M.Sc. in Condensed Matter Physics, Department of Physics & Astronomy, UBC
    • 2002, M.Sc. in Statistical Physics, Physics Department, Beijing Normal University(BNU)
    • 1999, B.S. in Physics, Department of Physics, BNU
  • Employment

    • 2011-, Associate Professor, Department of Systems Science, BNU, Beijing, China
    • 2004-2011, Teaching Assistant, Department of Physics & Astronomy, UBC
    • 2003-2004, Teaching Assistant, Department of Physics, SFU
    • 2002-2003, Lecturer and Research Associate, Department of Systems Science, BNU
  • Professional experience

    • Associate Professor

      • 2012 Spring, Physics and Mathematics in Studies of Complexity II, graduate course, Department of Systems Science, BNU.
      • 2011 Fall, Physics and Mathematics in Studies of Complexity I, graduate course, Department of Systems Science, BNU.
      • 2011- , Non-equilibrium statistical physics and Quantum transport project, PI, funded partially by National Natural Science Foundation of China.
      • 2011- , Network-based learning strategies of Chinese characters, PI, not yet funded by any agencies.
      • 2012- , Study concept mapping technology and generate collections of concept maps, PI, funded partially by university research fund from BNU.
    • Lecturer

      • 2003, Math Model, undergraduate course, Department of Systems Science, BNU.
      • 2002, Econophysics, a course for graduate students, Department of Systems Science, BNU, 2002,9-2003,1. I designed and established this course from scratch. A review paper ([19] in the publication list) on Econophysics prepared for the class was post on arXiv. Since then many have used it as an introductory material for the subject.
    • Research Associate

      • 2002-2003, under Prof. Zengru Di’s supervision, lead a team working on empirical studies of and modelling weighted complex networks
      • 2002-2003, help Prof. Zengru Di to organize a proposal for National Fund of Natural Science in China, The statistical properties of firm sizes and its theoretical model, funded at 2003,9.
    • Research Assistant

      • 2004-2011, as a graduate student in Prof. Mona Berciu’s group, working on various projects related to quantum transport
      • 1999-2002, as a graduate student (master) in Prof. Zhanru Yang’s group, during the later years of and one year after my graduation (2001-2003), I lead a team working on physical models on complex networks
  • Skills in numerical computation

    • High-performance computational software: BLAS, Lapack, Petsc, Slepc, gsl, xmds
    • Programming language: C, Java, Linux shell script
  • Award

    • University Graduate Fellowship (UGF) from UBC, 2006-2009
    • Graduate Fellowship from SFU, spring 2004
    • Canron Limited – Sidney Hong Memorial Grad Scholarship, Spring 2004
    • Westak International Sales Inc. Grad Scholarship in Expert Systems, Spring 2004
    • Scholarship for Excellent Graduate Students from BNU, 2000
    • Award for excellent undergraduate students from BNU, 1998
  • Research Contribution

    • Quantum Transport

      In my Ph. D. work at UBC I aimed to establish a theoretical framework for finding the non-equilibrium stationary states of quantum systems starting mostly from first principles. Approaches exist for this problem such as the Landauer-Buttiker formula and the non-equilibrium Green’s function method. We decided to use the open-system scenario, which is not widely used because of the difficulty in solving the resulting open-system master equation. Using direct methods, one needs to solve an eigenvalue problem of size 4N where N is the size of the system measured in qubits. We first searched for efficient methods to solve this problem and then applications of this framework on physical models. The following lists several projects I have worked on.

      • Using a BBGKY-like method for solving the open-system master equation [2] the task of solving an eigenvalue problem of size 4N becomes a problem of solving a linear system of size N2 by converting the open-system master equation into linear equations of Green’s functions. The equations of different Green’s functions (single-particle ones, tow-particle ones and so on) are coupled. The cluster expansion, originally used for the equilibrium BBGKY method, is used to truncate the coupled equation. The accuracy of this method is around 2%.
      • The second order form of the BBGKY-like method requires solving a linear system of size N4 but improves accuracy even further. Such a form also gives the two-particle correlated Green’s functions beyond the Hartree-Fock approximation. Manuscript in preparation.
      • A coherent-state representation approach was also explored to solve the above problem of size 4N by simulating a stochastic differential equation with 2N complex variables by converting the open-system master equation into a generalized Fokker-Planck equation. Analytical expression of the non-equilibrium stationary states are derived for some systems. The accuracy of this method is around 6%. Manuscript in preparation.
      • We also found in study of the Kubo formula for open systems [1] that in order to study transport one has to take into account the coupling from the central system to the baths explicitly. In using the usual Kubo formula in transport studies, one assume the central system is a closed system.
      • Using direct methods we studied thermal transport of spin chains[17] and analyzed systems up to N=10. Connections between integrability and anomalous transport, which is widely believed by physicists and has been demonstrated by studies based on the usual Kubo formula, is challenged by our results.
    • Weighted networks

      This series of works started in late 2002 when I was employed as a research associate for Prof. Zengru Di at BNU after I got my M.Sc. Degree in statistical physics from BNU. Many thanks to Prof. Zengru Di, Prof. Yougui Wang and Prof. Zhangang, Han for offering me a position usually requiring a PH.D. Degree. The focus of my research on weighted networks has been the basic statistical features of static weighted networks, their evolution and also some more advanced structure in those networks.

      • Empirical study of weighted networks[11,12]: We collected almost all papers published on Econophysics up to date (back then), compiled a weighted network and studies its basic statistical properties.
      • Evolutionary model for weighted networks [3,7,9]: Inspired by social networks and the above weighted networks of econophysicists, a new model of weighted networks was proposed. It is based on local rules, which means that nodes in the network only need to know limited information about their neighbors and at most their next neighbors. That is in this model a data centers providing global information is not required. We went one step further and conjectured that the well-known mechanism of global preferential attachment (that the richest gets richer while the poorest gets poorer) can be an emergent phenomenon rooted from local rules. We tested and confirmed this conjecture on our own model and several others.
    • Quantum Game Theory[20]

      In physicists’ terminologies, classical games can be regarded as games based on classical objects. The state of the object changes according to players’ choice of strategies. These strategies are described by operators acting on the object to modify its state. The final state of the object determines the payoff for every player. The coin flipping games is a perfect example of this picture. The coin is a classical two-state system, which is denoted by physicists as a mixture state of “heads” and “tails”. Flipping and non-flipping correspond respectively to the Pauli matrixand identity matrix. A natural question then arises of what happens if the classical coin is replaced by a quantum spin.
      I found that the answer is very non-trivial: a probability distribution over the strategy space, which is the description of a general strategy in classical game theory, is no longer capable of describing games with quantum objects. A density matrix over a basis of the strategy space has to be used. The same transition happens from Classical Mechanics to Quantum Mechanics. A probability distribution is replaced by a density matrix, which allows superpositions while the former allows only probability summations.

    • Quantum Foundation[18]

      Partially inspired by the above work on quantum game theory, I was motivated to study the difference between a probability distribution and a density matrix. Can the former be converted to the later equivalently or vice versa? Luckily I found that the same question has been asked and investigated by physicists on the question of validity of hidden variable theory. In a hidden variable theory, there is no superposition principle, but classical probability summations are allowed. In a sense, the hidden variable theory is searching for a map from a density matrix to a classical probability distribution.

      On one hand there is a theorem stating that all convex theories, which includes quantum mechanics, can be embedded into a classical probability theory with constraints (see for example, A. S. Holevo, Probabilistic and Statistical Aspects of Quantum Theory). On the other hand, Bell’s inequality rules out all local hidden variable theories. The constrained classical theory has to be non-local. Of course many believe that physical theory should be local, but some are still willing to sacrifice locality. I investigated the question of what beyond locality one has to give up in order to have such a classical theory for quantum systems. I found there are many other unacceptable features of the classical theory by explicitly constructing such a theory for systems of one spin half and two spin halfs. Those unwanted features make the theory even harder to understand than the usual quantum mechanics.

  • List of publications

  • Xelatex图的caption中汉字显示的问题

    不是所有的字体都能够用在caption中的。解决方法:在正文和插图中用不同的字体。例如:

    \usepackage{xeCJK}
    \usepackage{fontspec}
    \setCJKfamilyfont{main}{AR PL UMing CN}
    \newfontfamily\ChineseInCaption{WenQuanYi Micro Hei}

    \begin{document}

    \CJKfamily{main}
    正文
    \begin{figure…..}
    \includegraphics{fig1.eps}
    \caption{插图 \ChineseInCaption 汉字拆分及网络构建示意图。}
    \end{figure…..}