local extrema pgfplots - smoothHow can I automatically mark local extrema with pgfplots and scatter?plotting...
Can I make popcorn with any corn?
How can bays and straits be determined in a procedurally generated map?
Was any UN Security Council vote triple-vetoed?
Important Resources for Dark Age Civilizations?
What does it mean to describe someone as a butt steak?
LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function
Does detail obscure or enhance action?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
Codimension of non-flat locus
What is the word for reserving something for yourself before others do?
How old can references or sources in a thesis be?
What is a clear way to write a bar that has an extra beat?
How is it possible to have an ability score that is less than 3?
Java Casting: Java 11 throws LambdaConversionException while 1.8 does not
What would happen to a modern skyscraper if it rains micro blackholes?
Watching something be written to a file live with tail
Rock identification in KY
Today is the Center
Did Shadowfax go to Valinor?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Could an aircraft fly or hover using only jets of compressed air?
Can I ask the recruiters in my resume to put the reason why I am rejected?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Do infinite dimensional systems make sense?
local extrema pgfplots - smooth
How can I automatically mark local extrema with pgfplots and scatter?plotting two time series with boundsGrouped bar chartSmooth pgfplotssmooth pgfplots curveHow do i get the x axis on top but keep a line on the bottomHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?How to hide empty (value 0) ybars with pgfplots?Show mark labels near marks and not centered in ybar interaval graphpgfplots: percentage in matrix plotSmooth plotting in pgfplots
Is it possible to change this code for a "smooth" plot?
How can I automatically mark local extrema with pgfplots and scatter?
MWE
documentclass{scrartcl}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{pgfplots}
%-min/max-code https://tex.stackexchange.com/questions/55349/how-can-i-automatically-mark-local-extrema-with-pgfplots-and-scatter
begin{document}
begin{tikzpicture}
begin{axis}[axis lines*=middle,after end axis/.code={draw [thick, dashed, gray] (maximum) --({axis cs:0,0}-|maximum);}]
addplot +[mark max,smooth,no markers] file {titra.dat};
end{axis}
end{tikzpicture}
end{document}
titra.dat
0 5
2 5.5
4 5
4.2 5
4.4 10
4.6 15
4.8 25
5 60
5.2 100
5.4 225
5.6 315
5.8 300
6 100
6.2 35
6.4 8.33
pgfplots
add a comment |
Is it possible to change this code for a "smooth" plot?
How can I automatically mark local extrema with pgfplots and scatter?
MWE
documentclass{scrartcl}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{pgfplots}
%-min/max-code https://tex.stackexchange.com/questions/55349/how-can-i-automatically-mark-local-extrema-with-pgfplots-and-scatter
begin{document}
begin{tikzpicture}
begin{axis}[axis lines*=middle,after end axis/.code={draw [thick, dashed, gray] (maximum) --({axis cs:0,0}-|maximum);}]
addplot +[mark max,smooth,no markers] file {titra.dat};
end{axis}
end{tikzpicture}
end{document}
titra.dat
0 5
2 5.5
4 5
4.2 5
4.4 10
4.6 15
4.8 25
5 60
5.2 100
5.4 225
5.6 315
5.8 300
6 100
6.2 35
6.4 8.33
pgfplots
5
No, you can't adapt that solution to work with curves produced using thesmooth
option. I wouldn't recommend usingsmooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.
– Jake
May 6 '13 at 11:05
add a comment |
Is it possible to change this code for a "smooth" plot?
How can I automatically mark local extrema with pgfplots and scatter?
MWE
documentclass{scrartcl}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{pgfplots}
%-min/max-code https://tex.stackexchange.com/questions/55349/how-can-i-automatically-mark-local-extrema-with-pgfplots-and-scatter
begin{document}
begin{tikzpicture}
begin{axis}[axis lines*=middle,after end axis/.code={draw [thick, dashed, gray] (maximum) --({axis cs:0,0}-|maximum);}]
addplot +[mark max,smooth,no markers] file {titra.dat};
end{axis}
end{tikzpicture}
end{document}
titra.dat
0 5
2 5.5
4 5
4.2 5
4.4 10
4.6 15
4.8 25
5 60
5.2 100
5.4 225
5.6 315
5.8 300
6 100
6.2 35
6.4 8.33
pgfplots
Is it possible to change this code for a "smooth" plot?
How can I automatically mark local extrema with pgfplots and scatter?
MWE
documentclass{scrartcl}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{pgfplots}
%-min/max-code https://tex.stackexchange.com/questions/55349/how-can-i-automatically-mark-local-extrema-with-pgfplots-and-scatter
begin{document}
begin{tikzpicture}
begin{axis}[axis lines*=middle,after end axis/.code={draw [thick, dashed, gray] (maximum) --({axis cs:0,0}-|maximum);}]
addplot +[mark max,smooth,no markers] file {titra.dat};
end{axis}
end{tikzpicture}
end{document}
titra.dat
0 5
2 5.5
4 5
4.2 5
4.4 10
4.6 15
4.8 25
5 60
5.2 100
5.4 225
5.6 315
5.8 300
6 100
6.2 35
6.4 8.33
pgfplots
pgfplots
edited 8 hours ago
Glorfindel
269139
269139
asked May 6 '13 at 10:40
user29463
5
No, you can't adapt that solution to work with curves produced using thesmooth
option. I wouldn't recommend usingsmooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.
– Jake
May 6 '13 at 11:05
add a comment |
5
No, you can't adapt that solution to work with curves produced using thesmooth
option. I wouldn't recommend usingsmooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.
– Jake
May 6 '13 at 11:05
5
5
No, you can't adapt that solution to work with curves produced using the
smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.– Jake
May 6 '13 at 11:05
No, you can't adapt that solution to work with curves produced using the
smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.– Jake
May 6 '13 at 11:05
add a comment |
1 Answer
1
active
oldest
votes
No, you can't adapt that solution to work with curves produced using the smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
},
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%2ftex.stackexchange.com%2fquestions%2f112758%2flocal-extrema-pgfplots-smooth%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
No, you can't adapt that solution to work with curves produced using the smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value
add a comment |
No, you can't adapt that solution to work with curves produced using the smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value
add a comment |
No, you can't adapt that solution to work with curves produced using the smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value
No, you can't adapt that solution to work with curves produced using the smooth
option. I wouldn't recommend using smooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value
answered Aug 15 '13 at 21:30
JakeJake
196k24660765
196k24660765
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX 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.
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%2ftex.stackexchange.com%2fquestions%2f112758%2flocal-extrema-pgfplots-smooth%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
5
No, you can't adapt that solution to work with curves produced using the
smooth
option. I wouldn't recommend usingsmooth
when you're using measured data, especially not if the data changes as sharply as yours. You don't know what algorithm is being used for the smoothing, so you shouldn't let it influence your analysis. If you want to find the most likely maximum, you should either use a defensible mathematical model of your process and fit that to your data points, or just use the data point with the largest value.– Jake
May 6 '13 at 11:05