GNUPLOT v/s. ORIGIN plotting (Smoothing using B-Spline)
$begingroup$
This is pretty common question on smoothing of data in Gnuplot. My question, however, relates to smoothing of current vs. voltage data (acquired by applying triangular wave potential) in Origin vs. Gnuplot. Data is given below:
Voltage Current
begin{array}{cc}
-2.004 & -0.01241 \
-2.014 & -0.01169 \
-2.024 & -0.01143 \
-2.034 & -0.01128 \
-2.044 & -0.01127 \
-2.054 & -0.01112 \
-2.065 & -0.01089 \
-2.075 & -0.01073 \
-2.085 & -0.01084 \
-2.095 & -0.01078 \
-2.105 & -0.01065 \
-2.115 & -0.01058 \
-2.125 & -0.0106 \
-2.135 & -0.01065 \
-2.145 & -0.0106 \
-2.155 & -0.01064 \
-2.165 & -0.01065 \
-2.175 & -0.01073 \
-2.185 & -0.01085 \
-2.195 & -0.01101 \
-2.206 & -0.01113 \
-2.216 & -0.01132 \
-2.226 & -0.01152 \
-2.236 & -0.0118 \
-2.246 & -0.0121 \
-2.256 & -0.01245 \
-2.266 & -0.01289 \
-2.276 & -0.01326 \
-2.286 & -0.01359 \
-2.296 & -0.01405 \
-2.306 & -0.01454 \
-2.316 & -0.015 \
-2.326 & -0.01561 \
-2.336 & -0.0162 \
-2.346 & -0.01698 \
-2.357 & -0.01785 \
-2.367 & -0.01915 \
-2.377 & -0.02418 \
-2.387 & -0.04124 \
-2.397 & -0.0697 \
-2.407 & -0.10842 \
-2.417 & -0.15461 \
-2.427 & -0.20418 \
-2.437 & -0.25485 \
-2.447 & -0.30558 \
-2.457 & -0.35642 \
-2.467 & -0.40745 \
-2.477 & -0.45739 \
-2.487 & -0.50788 \
-2.498 & -0.55909 \
-2.508 & -0.6097 \
-2.498 & -0.55691 \
-2.487 & -0.50436 \
-2.477 & -0.45182 \
-2.467 & -0.39933 \
-2.457 & -0.34752 \
-2.447 & -0.29485 \
-2.437 & -0.24285 \
-2.427 & -0.19164 \
-2.417 & -0.14 \
-2.407 & -0.0897 \
-2.397 & -0.03865 \
-2.387 & 0.01245 \
-2.377 & 0.06388 \
-2.367 & 0.11509 \
-2.357 & 0.16515 \
-2.346 & 0.216 \
-2.336 & 0.26727 \
-2.326 & 0.31812 \
-2.316 & 0.36915 \
-2.306 & 0.42061 \
-2.296 & 0.47127 \
-2.286 & 0.52248 \
-2.276 & 0.57261 \
-2.266 & 0.62242 \
-2.256 & 0.67091 \
-2.246 & 0.71333 \
-2.236 & 0.68061 \
-2.226 & 0.18212 \
-2.216 & 0.00698 \
-2.206 & 0.00174 \
-2.195 & -1.29455E-4 \
-2.185 & -0.00118 \
-2.175 & -0.00185 \
-2.165 & -0.00226 \
-2.155 & -0.00255 \
-2.145 & -0.0029 \
-2.135 & -0.00314 \
-2.125 & -0.00331 \
-2.115 & -0.00361 \
-2.105 & -0.004 \
-2.095 & -0.0042 \
-2.085 & -0.00431 \
-2.075 & -0.00438 \
-2.065 & -0.00451 \
-2.054 & -0.00466 \
-2.044 & -0.00483 \
-2.034 & -0.00516 \
-2.024 & -0.00523 \
-2.014 & -0.00523 \
-2.004 & -0.00525 \
end{array}
When I plot this data in Origin, I use Connect--->B-Spline, I get a smooth curve. When I use Gnuplot, I plot the data using the command
begin{equation}
mathtt{
plot,, [-2.2:-1.9], , 'CV.dat' ,,u,, 1:2 ,,smooth , csplines}
end{equation}
I do not get the desired result. As a matter of fact, 50% of the data do not show. Is it possible in Gnuplot to carry out what I intend to do?
graphing-functions
$endgroup$
add a comment |
$begingroup$
This is pretty common question on smoothing of data in Gnuplot. My question, however, relates to smoothing of current vs. voltage data (acquired by applying triangular wave potential) in Origin vs. Gnuplot. Data is given below:
Voltage Current
begin{array}{cc}
-2.004 & -0.01241 \
-2.014 & -0.01169 \
-2.024 & -0.01143 \
-2.034 & -0.01128 \
-2.044 & -0.01127 \
-2.054 & -0.01112 \
-2.065 & -0.01089 \
-2.075 & -0.01073 \
-2.085 & -0.01084 \
-2.095 & -0.01078 \
-2.105 & -0.01065 \
-2.115 & -0.01058 \
-2.125 & -0.0106 \
-2.135 & -0.01065 \
-2.145 & -0.0106 \
-2.155 & -0.01064 \
-2.165 & -0.01065 \
-2.175 & -0.01073 \
-2.185 & -0.01085 \
-2.195 & -0.01101 \
-2.206 & -0.01113 \
-2.216 & -0.01132 \
-2.226 & -0.01152 \
-2.236 & -0.0118 \
-2.246 & -0.0121 \
-2.256 & -0.01245 \
-2.266 & -0.01289 \
-2.276 & -0.01326 \
-2.286 & -0.01359 \
-2.296 & -0.01405 \
-2.306 & -0.01454 \
-2.316 & -0.015 \
-2.326 & -0.01561 \
-2.336 & -0.0162 \
-2.346 & -0.01698 \
-2.357 & -0.01785 \
-2.367 & -0.01915 \
-2.377 & -0.02418 \
-2.387 & -0.04124 \
-2.397 & -0.0697 \
-2.407 & -0.10842 \
-2.417 & -0.15461 \
-2.427 & -0.20418 \
-2.437 & -0.25485 \
-2.447 & -0.30558 \
-2.457 & -0.35642 \
-2.467 & -0.40745 \
-2.477 & -0.45739 \
-2.487 & -0.50788 \
-2.498 & -0.55909 \
-2.508 & -0.6097 \
-2.498 & -0.55691 \
-2.487 & -0.50436 \
-2.477 & -0.45182 \
-2.467 & -0.39933 \
-2.457 & -0.34752 \
-2.447 & -0.29485 \
-2.437 & -0.24285 \
-2.427 & -0.19164 \
-2.417 & -0.14 \
-2.407 & -0.0897 \
-2.397 & -0.03865 \
-2.387 & 0.01245 \
-2.377 & 0.06388 \
-2.367 & 0.11509 \
-2.357 & 0.16515 \
-2.346 & 0.216 \
-2.336 & 0.26727 \
-2.326 & 0.31812 \
-2.316 & 0.36915 \
-2.306 & 0.42061 \
-2.296 & 0.47127 \
-2.286 & 0.52248 \
-2.276 & 0.57261 \
-2.266 & 0.62242 \
-2.256 & 0.67091 \
-2.246 & 0.71333 \
-2.236 & 0.68061 \
-2.226 & 0.18212 \
-2.216 & 0.00698 \
-2.206 & 0.00174 \
-2.195 & -1.29455E-4 \
-2.185 & -0.00118 \
-2.175 & -0.00185 \
-2.165 & -0.00226 \
-2.155 & -0.00255 \
-2.145 & -0.0029 \
-2.135 & -0.00314 \
-2.125 & -0.00331 \
-2.115 & -0.00361 \
-2.105 & -0.004 \
-2.095 & -0.0042 \
-2.085 & -0.00431 \
-2.075 & -0.00438 \
-2.065 & -0.00451 \
-2.054 & -0.00466 \
-2.044 & -0.00483 \
-2.034 & -0.00516 \
-2.024 & -0.00523 \
-2.014 & -0.00523 \
-2.004 & -0.00525 \
end{array}
When I plot this data in Origin, I use Connect--->B-Spline, I get a smooth curve. When I use Gnuplot, I plot the data using the command
begin{equation}
mathtt{
plot,, [-2.2:-1.9], , 'CV.dat' ,,u,, 1:2 ,,smooth , csplines}
end{equation}
I do not get the desired result. As a matter of fact, 50% of the data do not show. Is it possible in Gnuplot to carry out what I intend to do?
graphing-functions
$endgroup$
add a comment |
$begingroup$
This is pretty common question on smoothing of data in Gnuplot. My question, however, relates to smoothing of current vs. voltage data (acquired by applying triangular wave potential) in Origin vs. Gnuplot. Data is given below:
Voltage Current
begin{array}{cc}
-2.004 & -0.01241 \
-2.014 & -0.01169 \
-2.024 & -0.01143 \
-2.034 & -0.01128 \
-2.044 & -0.01127 \
-2.054 & -0.01112 \
-2.065 & -0.01089 \
-2.075 & -0.01073 \
-2.085 & -0.01084 \
-2.095 & -0.01078 \
-2.105 & -0.01065 \
-2.115 & -0.01058 \
-2.125 & -0.0106 \
-2.135 & -0.01065 \
-2.145 & -0.0106 \
-2.155 & -0.01064 \
-2.165 & -0.01065 \
-2.175 & -0.01073 \
-2.185 & -0.01085 \
-2.195 & -0.01101 \
-2.206 & -0.01113 \
-2.216 & -0.01132 \
-2.226 & -0.01152 \
-2.236 & -0.0118 \
-2.246 & -0.0121 \
-2.256 & -0.01245 \
-2.266 & -0.01289 \
-2.276 & -0.01326 \
-2.286 & -0.01359 \
-2.296 & -0.01405 \
-2.306 & -0.01454 \
-2.316 & -0.015 \
-2.326 & -0.01561 \
-2.336 & -0.0162 \
-2.346 & -0.01698 \
-2.357 & -0.01785 \
-2.367 & -0.01915 \
-2.377 & -0.02418 \
-2.387 & -0.04124 \
-2.397 & -0.0697 \
-2.407 & -0.10842 \
-2.417 & -0.15461 \
-2.427 & -0.20418 \
-2.437 & -0.25485 \
-2.447 & -0.30558 \
-2.457 & -0.35642 \
-2.467 & -0.40745 \
-2.477 & -0.45739 \
-2.487 & -0.50788 \
-2.498 & -0.55909 \
-2.508 & -0.6097 \
-2.498 & -0.55691 \
-2.487 & -0.50436 \
-2.477 & -0.45182 \
-2.467 & -0.39933 \
-2.457 & -0.34752 \
-2.447 & -0.29485 \
-2.437 & -0.24285 \
-2.427 & -0.19164 \
-2.417 & -0.14 \
-2.407 & -0.0897 \
-2.397 & -0.03865 \
-2.387 & 0.01245 \
-2.377 & 0.06388 \
-2.367 & 0.11509 \
-2.357 & 0.16515 \
-2.346 & 0.216 \
-2.336 & 0.26727 \
-2.326 & 0.31812 \
-2.316 & 0.36915 \
-2.306 & 0.42061 \
-2.296 & 0.47127 \
-2.286 & 0.52248 \
-2.276 & 0.57261 \
-2.266 & 0.62242 \
-2.256 & 0.67091 \
-2.246 & 0.71333 \
-2.236 & 0.68061 \
-2.226 & 0.18212 \
-2.216 & 0.00698 \
-2.206 & 0.00174 \
-2.195 & -1.29455E-4 \
-2.185 & -0.00118 \
-2.175 & -0.00185 \
-2.165 & -0.00226 \
-2.155 & -0.00255 \
-2.145 & -0.0029 \
-2.135 & -0.00314 \
-2.125 & -0.00331 \
-2.115 & -0.00361 \
-2.105 & -0.004 \
-2.095 & -0.0042 \
-2.085 & -0.00431 \
-2.075 & -0.00438 \
-2.065 & -0.00451 \
-2.054 & -0.00466 \
-2.044 & -0.00483 \
-2.034 & -0.00516 \
-2.024 & -0.00523 \
-2.014 & -0.00523 \
-2.004 & -0.00525 \
end{array}
When I plot this data in Origin, I use Connect--->B-Spline, I get a smooth curve. When I use Gnuplot, I plot the data using the command
begin{equation}
mathtt{
plot,, [-2.2:-1.9], , 'CV.dat' ,,u,, 1:2 ,,smooth , csplines}
end{equation}
I do not get the desired result. As a matter of fact, 50% of the data do not show. Is it possible in Gnuplot to carry out what I intend to do?
graphing-functions
$endgroup$
This is pretty common question on smoothing of data in Gnuplot. My question, however, relates to smoothing of current vs. voltage data (acquired by applying triangular wave potential) in Origin vs. Gnuplot. Data is given below:
Voltage Current
begin{array}{cc}
-2.004 & -0.01241 \
-2.014 & -0.01169 \
-2.024 & -0.01143 \
-2.034 & -0.01128 \
-2.044 & -0.01127 \
-2.054 & -0.01112 \
-2.065 & -0.01089 \
-2.075 & -0.01073 \
-2.085 & -0.01084 \
-2.095 & -0.01078 \
-2.105 & -0.01065 \
-2.115 & -0.01058 \
-2.125 & -0.0106 \
-2.135 & -0.01065 \
-2.145 & -0.0106 \
-2.155 & -0.01064 \
-2.165 & -0.01065 \
-2.175 & -0.01073 \
-2.185 & -0.01085 \
-2.195 & -0.01101 \
-2.206 & -0.01113 \
-2.216 & -0.01132 \
-2.226 & -0.01152 \
-2.236 & -0.0118 \
-2.246 & -0.0121 \
-2.256 & -0.01245 \
-2.266 & -0.01289 \
-2.276 & -0.01326 \
-2.286 & -0.01359 \
-2.296 & -0.01405 \
-2.306 & -0.01454 \
-2.316 & -0.015 \
-2.326 & -0.01561 \
-2.336 & -0.0162 \
-2.346 & -0.01698 \
-2.357 & -0.01785 \
-2.367 & -0.01915 \
-2.377 & -0.02418 \
-2.387 & -0.04124 \
-2.397 & -0.0697 \
-2.407 & -0.10842 \
-2.417 & -0.15461 \
-2.427 & -0.20418 \
-2.437 & -0.25485 \
-2.447 & -0.30558 \
-2.457 & -0.35642 \
-2.467 & -0.40745 \
-2.477 & -0.45739 \
-2.487 & -0.50788 \
-2.498 & -0.55909 \
-2.508 & -0.6097 \
-2.498 & -0.55691 \
-2.487 & -0.50436 \
-2.477 & -0.45182 \
-2.467 & -0.39933 \
-2.457 & -0.34752 \
-2.447 & -0.29485 \
-2.437 & -0.24285 \
-2.427 & -0.19164 \
-2.417 & -0.14 \
-2.407 & -0.0897 \
-2.397 & -0.03865 \
-2.387 & 0.01245 \
-2.377 & 0.06388 \
-2.367 & 0.11509 \
-2.357 & 0.16515 \
-2.346 & 0.216 \
-2.336 & 0.26727 \
-2.326 & 0.31812 \
-2.316 & 0.36915 \
-2.306 & 0.42061 \
-2.296 & 0.47127 \
-2.286 & 0.52248 \
-2.276 & 0.57261 \
-2.266 & 0.62242 \
-2.256 & 0.67091 \
-2.246 & 0.71333 \
-2.236 & 0.68061 \
-2.226 & 0.18212 \
-2.216 & 0.00698 \
-2.206 & 0.00174 \
-2.195 & -1.29455E-4 \
-2.185 & -0.00118 \
-2.175 & -0.00185 \
-2.165 & -0.00226 \
-2.155 & -0.00255 \
-2.145 & -0.0029 \
-2.135 & -0.00314 \
-2.125 & -0.00331 \
-2.115 & -0.00361 \
-2.105 & -0.004 \
-2.095 & -0.0042 \
-2.085 & -0.00431 \
-2.075 & -0.00438 \
-2.065 & -0.00451 \
-2.054 & -0.00466 \
-2.044 & -0.00483 \
-2.034 & -0.00516 \
-2.024 & -0.00523 \
-2.014 & -0.00523 \
-2.004 & -0.00525 \
end{array}
When I plot this data in Origin, I use Connect--->B-Spline, I get a smooth curve. When I use Gnuplot, I plot the data using the command
begin{equation}
mathtt{
plot,, [-2.2:-1.9], , 'CV.dat' ,,u,, 1:2 ,,smooth , csplines}
end{equation}
I do not get the desired result. As a matter of fact, 50% of the data do not show. Is it possible in Gnuplot to carry out what I intend to do?
graphing-functions
graphing-functions
asked Jan 8 at 18:02
Suddhasattwa Ghosh Suddhasattwa Ghosh
13
13
add a comment |
add a comment |
0
active
oldest
votes
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3066517%2fgnuplot-v-s-origin-plotting-smoothing-using-b-spline%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3066517%2fgnuplot-v-s-origin-plotting-smoothing-using-b-spline%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown